From: pascal dot chevrel at free dot fr Operating system: all PHP version: 5.3Git-2012-10-11 (Git) Package: PHP options/info functions Bug Type: Feature/Change Request Bug description:phpinfo() function generates old html/css
Description: ------------ The phpinfo() function does not use recent html and abuses classes attributes and css for semantics (like using <td class="h"> for a cell header instead of <th> I am attaching a patch that simplifies the html generated, makes it an html5 compliant (and hence simplifies the code used to generate this html) while keeping the same layout and visual appearance. The html goes from 64KB to 40KB just by removing redundant html. There is one change to php_info_print_table_row_internal() to remove a variable, that function is not used anywhere else in the code base. I didn't get any test failure with this patch. Thanks -- Edit bug report at https://bugs.php.net/bug.php?id=63263&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63263&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63263&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63263&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63263&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63263&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63263&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63263&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63263&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63263&r=support Expected behavior: https://bugs.php.net/fix.php?id=63263&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63263&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63263&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63263&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63263&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63263&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63263&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63263&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63263&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63263&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63263&r=mysqlcfg
