#33762 [Bgs->Opn]: Setting error_reporting doesn't turn off strict warning messages

From: Date: Tue, 19 Jul 2005 12:40:09 +0000
Subject: #33762 [Bgs->Opn]: Setting error_reporting doesn't turn off strict warning messages
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82143@lists.php.net to get a copy of this message
 ID:               33762
 User updated by:  russell at flora dot ca
 Reported By:      russell at flora dot ca
-Status:           Bogus
+Status:           Open
 Bug Type:         *Configuration Issues
 Operating System: 2.6.12-1.1398_FC4 Linux
-PHP Version:      5.0.3
+PHP Version:      5.0.4
 New Comment:

I am running the RPM that comes with Fedora Core 4 updates, which is
the latest you list.  (Their version information is php-5.0.4-10.3).


From: http://www.forumonpublicdomain.ca/info.php
PHP Version 5.0.4


Previous Comments:
------------------------------------------------------------------------

[2005-07-19 10:06:50] tony2001@php.net

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.



------------------------------------------------------------------------

[2005-07-19 05:38:35] russell at flora dot ca

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 this bug report at http://bugs.php.net/?id=33762&edit=1


Thread (4 messages)

« previous php.bugs (#82143) next »