Page 1 of 1

php 5.3.8: disable deprecated function warnings

Posted: Mon Oct 10, 2011 1:45 pm
by ilrossino
Hello, i've just upgraded from php 5.2.17 to 5.3.8.
Got apache error logs full of "PHP Deprecated: Function" messages, i'm trying with E_ALL & ~E_NOTICE & ~E_DEPRECATED in php.ini, phpinfo() reports error_reporting = 22519 but i can't get rid of messages.

Any idea? Maybe a bug?

Re: php 5.3.8: disable deprecated function warnings

Posted: Tue Oct 11, 2011 7:37 am
by scott
Thats real all right, whatever functions its warning you about are going to be dropped soon.

http://php.net/manual/en/migration53.deprecated.php

Re: php 5.3.8: disable deprecated function warnings

Posted: Tue Oct 11, 2011 8:20 am
by breun
Maybe the errors you're seeing are logged as E_USER_DEPRECATED instead of E_DEPRECATED?