Doc #68355 [NEW]: Inconsistency in example php.ini comments

From: Date: Wed, 05 Nov 2014 18:24:20 +0000
Subject: Doc #68355 [NEW]: Inconsistency in example php.ini comments
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11606@lists.php.net to get a copy of this message
From: thuejk at gmail dot com Operating system: All PHP version: 5.6.2 Package: Documentation problem Bug Type: Documentation Problem Bug description:Inconsistency in example php.ini comments Description: ------------ PHP 5.6.2 comes with two php.ini example files. However, there are some unintended differences: t@vd7 ~/php-5.6.2> diff php.ini-production php.ini-development 86c86 < ; This is php.ini-production INI file. --- > ; This is php.ini-development INI file. 452c452 < error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT --- > error_reporting = E_ALL 469c469 < display_errors = Off --- > display_errors = On 480c480 < display_startup_errors = Off --- > display_startup_errors = On 524c524 < track_errors = Off --- > track_errors = On 681c681 < ; PHP's default character set is set to empty. --- > ; PHP's default character set is set to UTF-8 690a691 > ; If empty, default_charset is used. 694a696 > ; If empty, default_charset is used. 765c767 < ;cgi.redirect_status_env = --- > ;cgi.redirect_status_env = 1246c1248 < mysqlnd.collect_memory_statistics = Off --- > mysqlnd.collect_memory_statistics = On While most of those differences are fine, the comments are differing for no reason at all. The parts I think are unnecessary differences are: 681c681 < ; PHP's default character set is set to empty. --- > ; PHP's default character set is set to UTF-8 690a691 > ; If empty, default_charset is used. 694a696 > ; If empty, default_charset is used. 765c767 < ;cgi.redirect_status_env = --- > ;cgi.redirect_status_env = One of the versions of the first difference's "PHP's default character set is set to X" has to be directly wrong. -- Edit bug report at https://bugs.php.net/bug.php?id=68355&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68355&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68355&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68355&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68355&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68355&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68355&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68355&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68355&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68355&r=support Expected behavior: https://bugs.php.net/fix.php?id=68355&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68355&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68355&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68355&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68355&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68355&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68355&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68355&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68355&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68355&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68355&r=mysqlcfg

« previous php.doc.bugs (#11606) next »