note 104854 deleted from errorfunc.configuration by googleguy
| From: | googleguy@php.net | Date: | Thu, 13 Jun 2013 11:33:57 +0000 |
| Subject: | note 104854 deleted from errorfunc.configuration by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195191@lists.php.net to get a copy of this message | ||
Note Submitter: bub at nospam dot com
----
Do NOT call session_start() before you call error_reporting();
<?php
// does NOT work correctly
session_start();
error_reporting(NULL);
// does work
error_reporting(NULL);
session_start();
?>