RE: [PHP4BETA] Dont you love those error messages? :)
| From: | Zeev Suraski | Date: | Thu, 05 Aug 1999 05:27:04 +0000 |
| Subject: | RE: [PHP4BETA] Dont you love those error messages? :) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3133@lists.php.net to get a copy of this message | ||
At 01:45 05/08/99 , Sander Pilon wrote:
In php.ini it's like this: ; error_reporting is a bit-field. Add each number up to get desired error reporting level ; 1 = Normal errors ; 2 = Normal warnings ; 4 = Parser errors ; 8 = Notices - warnings you can ignore, but sometimes imply a bugNo. That legend is no longer accurate - there are other error levels in PHP 4.0. Assuming you want everything except notices, take a very large 2^n-1 number, e.g. 65535, and subtract 8 from it (to avoid showing notices) - 65527. That way you would be supplying it with 1+2+4+8+16+..., minus the error level you don't want, which is 8. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.ilerror_reporting = 7Isnt that high enough?