note 88992 added to function.error-reporting
| From: | Anonymous at osu1 dot php dot net | Date: | Tue, 17 Feb 2009 21:10:03 +0000 |
| Subject: | note 88992 added to function.error-reporting | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150757@lists.php.net to get a copy of this message | ||
It was a bit unintuitive for me but using
<?php error_reporting(E_STRICT); ?>
will actually _disable_ most error and warning messages. this is what most people will want to do:
<?php error_reporting(E_ALL | E_STRICT); ?>
----
Server IP: 82.177.164.100
Probable Submitter: 94.254.152.47
----
Manual Page -- http://www.php.net/manual/en/function.error-reporting.php
Edit -- https://master.php.net/note/edit/88992
Del: integrated -- https://master.php.net/note/delete/88992/integrated
Del: useless -- https://master.php.net/note/delete/88992/useless
Del: bad code -- https://master.php.net/note/delete/88992/bad+code
Del: spam -- https://master.php.net/note/delete/88992/spam
Del: non-english -- https://master.php.net/note/delete/88992/non-english
Del: in docs -- https://master.php.net/note/delete/88992/in+docs
Del: other reasons-- https://master.php.net/note/delete/88992
Reject -- https://master.php.net/note/reject/88992
Search -- https://master.php.net/manage/user-notes.php