summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rw-r--r--ext/standard/info.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index ec11a15185..3af9487fda 100644
--- a/NEWS
+++ b/NEWS
@@ -6,8 +6,10 @@ PHP NEWS
. Turn on html_errors by default again in php.ini-production like it was in
PHP 5.3, but only generate docref links when the docref_root INI setting is
not empty.
-- Fixed bug #55378: Binary number literal returns float number though its value
- is small enough. (Derick)
+ . Fixed bug #55378: Binary number literal returns float number though its value
+ is small enough. (Derick)
+ . Fixed bug #52461 (Incomplete doctype and missing xmlns).
+ (virsacer at web dot de, Pierre)
- Improved mbstring extension:
. Added Shift_JIS Emoji (pictograms) support. (rui)
diff --git a/ext/standard/info.c b/ext/standard/info.c
index f57e4afab3..ae5be6213e 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -633,7 +633,7 @@ PHPAPI char *php_get_uname(char mode)
PHPAPI void php_print_info_htmlhead(TSRMLS_D)
{
php_info_print("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n");
- php_info_print("<html>");
+ php_info_print("<html xmlns=\"http://www.w3.org/1999/xhtml\">");
php_info_print("<head>\n");
php_info_print_style(TSRMLS_C);
php_info_print("<title>phpinfo()</title>");