#33762 [NEW]: Setting error_reporting doesn't turn off strict warning messages
| From: | russell at flora dot ca | Date: | Tue, 19 Jul 2005 03:38:36 +0000 |
| Subject: | #33762 [NEW]: Setting error_reporting doesn't turn off strict warning messages | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-82113@lists.php.net to get a copy of this message | ||
From: russell at flora dot ca
Operating system: 2.6.12-1.1398_FC4 Linux
PHP version: 5.0.3
PHP Bug Type: Compile Warning
Bug description: Setting error_reporting doesn't turn off strict warning messages
Description:
------------
I know this has been said to not be a bug, and many bug reports have been
ignored, but I have tried everything suggested. This is the right php.ini
file, and I am modifying the ini file and not some other way to set
variables that might happen at run-time.
I have gone so far as to set:
error_reporting = 0
in my php.ini.
I can then go to phpinfo() and it displays as I would expect:
Directive Local Value Master Value
error_reporting 0 0
Error warnings are still coming out on the output of the pages, even
though
display_errors Off Off
Example errors from: http://forumonpublicdomain.ca/ (I
may be forced to
downgrade PHP to fix this problem. PHP5 isn't useable for me until this
problem is fixed. phpinfo() is at
http://www.forumonpublicdomain.ca/info.php
)
strict warning: Assigning the return value of new by reference is
deprecated in
/home/forumonpublicdomain.ca/www.forumonpublicdomain.ca/themes/engines/phptemplate/phptemplate.engine
on line 335.
strict warning: var: Deprecated. Please use the public/private/protected
modifiers in
/home/forumonpublicdomain.ca/www.forumonpublicdomain.ca/themes/engines/phptemplate/template.php
on line 27.
strict warning: var: Deprecated. Please use the public/private/protected
modifiers in
/home/forumonpublicdomain.ca/www.forumonpublicdomain.ca/themes/engines/phptemplate/template.php
on line 28.
--
Edit bug report at http://bugs.php.net/?id=33762&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33762&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33762&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33762&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33762&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33762&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33762&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33762&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33762&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33762&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33762&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33762&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33762&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33762&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33762&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33762&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33762&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33762&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33762&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33762&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33762&r=mysqlcfg