php 5.3.8: disable deprecated function warnings

Support/Development for PHP
ilrossino
New Forum User
New Forum User
Posts: 3
Joined: Mon Oct 10, 2011 1:06 pm
Location: Italy

php 5.3.8: disable deprecated function warnings

Unread post 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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: php 5.3.8: disable deprecated function warnings

Unread post 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
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: php 5.3.8: disable deprecated function warnings

Unread post by breun »

Maybe the errors you're seeing are logged as E_USER_DEPRECATED instead of E_DEPRECATED?
Lemonbit Internet Dedicated Server Management
Post Reply