ID: 37478 User updated by: Jared dot Williams1 at ntlworld dot com Reported By: Jared dot Williams1 at ntlworld dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem -Operating System: Win200 +Operating System: Win2000 PHP Version: 4CVS-2006-05-17 (snap) New Comment:
Pah, pear.phar uses error_reporting(E_ALL); Previous Comments: ------------------------------------------------------------------------ [2006-05-17 15:53:56] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37478&edit=1