Bug #55583 [NEW]: Startup errors are shown twice
| From: | shein@php.net | Date: | Mon, 05 Sep 2011 10:02:22 +0000 |
| Subject: | Bug #55583 [NEW]: Startup errors are shown twice | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-163294@lists.php.net to get a copy of this message | ||
From: shein
Operating system: Ubuntu Linux 11.04 x86
PHP version: trunk-SVN-2011-09-05 (SVN)
Package: *General Issues
Bug Type: Bug
Bug description:Startup errors are shown twice
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 bug report at https://bugs.php.net/bug.php?id=55583&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55583&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55583&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55583&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55583&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55583&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55583&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55583&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55583&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55583&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55583&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55583&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55583&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55583&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55583&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55583&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55583&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55583&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55583&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55583&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55583&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55583&r=mysqlcfg