Re: How to stop E_DEPRECATED messages in the PHP log?
| From: | Andre Hübner | Date: | Wed, 08 Jul 2009 07:11:10 +0000 |
| Subject: | Re: How to stop E_DEPRECATED messages in the PHP log? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295011@lists.php.net to get a copy of this message | ||
Hello,
Try error_reporting(E_ALL ^ E_DEPRECATED);
Thanks for your suggestion - it would work nicely, except that that is a runtime function that is called within a script.but if it works within script you could do it by auto_prepend_file to stop flooding the log until solution is found... i start packaging 5.3 next days so it is also interesting for me and my "deprecated" users. unfortunately no 5.3 experience until now... Andre