php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37478 Can not turn off E_STRICT messages
Submitted: 2006-05-17 15:53 UTC Modified: 2006-05-17 15:56 UTC
From: Jared dot Williams1 at ntlworld dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4CVS-2006-05-17 (snap) OS: Win2000
Private report: No CVE-ID: None
 [2006-05-17 15:53 UTC] Jared dot Williams1 at ntlworld dot com
Description:
------------
Setting error_reporting to 0, doesnt not prevent E_STRICT warnings. 

Reproduce code:
---------------
E:\php5.2-win32>php -r "var_dump(get_cfg_var('cfg_file_path')); var_dump(error_reporting());"
string(23) "E:\php5.2-win32\php.ini"
int(0)							<- error_reporting is 0

E:\php5.2-win32>go-pear
PHP Strict Standards:  Assigning the return value of new by reference is deprecated in phar://go-pear.phar/PEAR.php on line 563
PHP Strict Standards:  Assigning the return value of new by reference is deprecated in phar://go-pear.phar/PEAR.php on line 566


Expected result:
----------------
No PHP Strict Standard warnings. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-17 15:56 UTC] Jared dot Williams1 at ntlworld dot com
Pah, pear.phar uses error_reporting(E_ALL);
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 10:01:30 2025 UTC