Edit report at https://bugs.php.net/bug.php?id=55583&edit=1
ID: 55583 Comment by: larue...@php.net Reported by: sh...@php.net Summary: Startup errors are shown twice Status: Open Type: Bug Package: *General Issues Operating System: Ubuntu Linux 11.04 x86 PHP Version: trunk-SVN-2011-09-05 (SVN) Block user comment: N Private report: N New Comment: actually, these are different error msg type, one is log error, the other is display error. but in cli , they were all outputted to stderr. Previous Comments: ------------------------------------------------------------------------ [2011-09-05 10:02:22] sh...@php.net Description: ------------ Some startup errors are shown twice with slightly changed wording, for example: PHP Warning: PHP Startup: session.upload_progress.freq must be greater than or equal to zero in Unknown on line 0 Warning: PHP Startup: session.upload_progress.freq must be greater than or equal to zero in Unknown on line 0 One of the warnings obviously should be removed since having one is enough. See also this discussion: http://news.php.net/php.cvs/66176 Test script: --------------- $ php -n -d error_reporting=-1 -d display_startup_errors=1 -d session.upload_progress.freq=-1 -r '' Expected result: ---------------- PHP Warning: PHP Startup: session.upload_progress.freq must be greater than or equal to zero in Unknown on line 0 Actual result: -------------- PHP Warning: PHP Startup: session.upload_progress.freq must be greater than or equal to zero in Unknown on line 0 Warning: PHP Startup: session.upload_progress.freq must be greater than or equal to zero in Unknown on line 0 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55583&edit=1