#35343 [Opn->Csd]: phpinfo() produces invalid CSS
| From: | iliaa@php.net | Date: | Wed, 23 Nov 2005 00:17:29 +0000 |
| Subject: | #35343 [Opn->Csd]: phpinfo() produces invalid CSS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88749@lists.php.net to get a copy of this message | ||
ID: 35343
Updated by: iliaa@php.net
Reported By: csaba at alum dot mit dot edu
-Status: Open
+Status: Closed
Bug Type: PHP options/info functions
Operating System: Win XP Pro
PHP Version: 5CVS-2005-11-22 (snap)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-11-22 23:54:45] csaba at alum dot mit dot edu
Description:
------------
http://bugs.php.net/35046 reported that for PHP v 5.0.5 on
Linux
<?php phpinfo() ?> produces invalid CSS because of
<!--
...
//-->
This was supposed to have been fixed two weeks ago in CVS according to
the bug report, but it is still there in PHP v 5.1.0RC7 on my Win XP
Pro (just downloaded and tested). My Firefox javascript console is
still complaining. Since I was not able to reopen that bug, I am
filing this new one.
Csaba Gabor from Vienna
My band aid for this till the fix is:
ob_start();
phpinfo();
$phpinfo = ob_get_contents();
ob_end_clean();
$phpinfo = str_replace("<!--", "", $phpinfo);
$phpinfo = str_replace("//-->", "", $phpinfo);
print $phpinfo;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35343&edit=1