From: Operating system: PHP version: Irrelevant Package: PHP options/info functions Bug Type: Feature/Change Request Bug description:Deprecated HTML in sample php.ini
Description: ------------ The error_prepend_string and error_append_string settings in the php.ini sample file contain font tags. Font is deprecated since 1999 (http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#edef-FONT) and should be replaced with span. The "Expected result" shows this section of php.ini with the suggested change, and the "Actual result" shows the same section of php.ini as it is currently shipping. Expected result: ---------------- ; String to output before an error message. PHP's default behavior is to leave ; this setting blank. ; http://php.net/error-prepend-string ; Example: ;error_prepend_string = '<span style="color:#ff0000">' ; String to output after an error message. PHP's default behavior is to leave ; this setting blank. ; http://php.net/error-append-string ; Example: ;error_append_string = '</span>' Actual result: -------------- ; String to output before an error message. PHP's default behavior is to leave ; this setting blank. ; http://php.net/error-prepend-string ; Example: ;error_prepend_string = "<font color=#ff0000>" ; String to output after an error message. PHP's default behavior is to leave ; this setting blank. ; http://php.net/error-append-string ; Example: ;error_append_string = "</font>" -- Edit bug report at http://bugs.php.net/bug.php?id=53684&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53684&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53684&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53684&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53684&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53684&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53684&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53684&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53684&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53684&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53684&r=support Expected behavior: http://bugs.php.net/fix.php?id=53684&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53684&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53684&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53684&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53684&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53684&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53684&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53684&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53684&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53684&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53684&r=mysqlcfg