note 110371 deleted from function.error-reporting by danbrown
| From: | danbrown@php.net | Date: | Wed, 17 Oct 2012 21:19:19 +0000 |
| Subject: | note 110371 deleted from function.error-reporting by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191371@lists.php.net to get a copy of this message | ||
Note Submitter: ceo at forexbrokerzone dot com
----
Simple code when i ussually use :
error_reporting($_SERVER['SERVER_NAME']=='localhost'?-1:0);
Error reporting is on when developing.
Error reporting is off when online.