Bug #55583 [Opn->Bgs]: Startup errors are shown twice

From: Date: Tue, 06 Sep 2011 02:30:28 +0000
Subject: Bug #55583 [Opn->Bgs]: Startup errors are shown twice
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-163312@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55583&edit=1 ID: 55583 Updated by: laruence@php.net Reported by: shein@php.net Summary: Startup errors are shown twice -Status: Open +Status: Bogus 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: I'm going to mark this as bogus, you can got only one error msg by: php -ddisplay_errors=0 -d session.upload_progress.freq=-1 -r '' Previous Comments: ------------------------------------------------------------------------ [2011-09-05 15:29:46] laruence@php.net 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. ------------------------------------------------------------------------ [2011-09-05 10:02:22] shein@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

« previous php.bugs (#163312) next »