note 111022 deleted from function.error-reporting by aharvey
| From: | aharvey@php.net | Date: | Tue, 08 Jan 2013 02:58:34 +0000 |
| Subject: | note 111022 deleted from function.error-reporting by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192827@lists.php.net to get a copy of this message | ||
Note Submitter: codequp at gmail dot com
----
Using:
<?php
$error_level = 'E_ALL | E_STRICT';
error_reporting($error_level);
require 'test_file.php';
### test_file.php ###
echo 'This is just a test' #notice the missing semicolon
?>
Causes a blank screen...yey.
<?php
error_reporting(E_ALL | E_STRICT); #no variable
?>
Displays the errors correctly.