From: csaba at alum dot mit dot edu Operating system: Win XP Pro PHP version: 5CVS-2005-11-22 (snap) PHP Bug Type: PHP options/info functions Bug description: phpinfo() produces invalid CSS
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 bug report at http://bugs.php.net/?id=35343&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35343&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35343&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35343&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35343&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35343&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35343&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35343&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35343&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35343&r=support Expected behavior: http://bugs.php.net/fix.php?id=35343&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35343&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35343&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35343&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35343&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35343&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35343&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35343&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35343&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35343&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35343&r=mysqlcfg