note 74517 added to function.error-reporting
| From: | Mark at osu1 dot php dot net | Date: | Sun, 15 Apr 2007 17:36:10 +0000 |
| Subject: | note 74517 added to function.error-reporting | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125420@lists.php.net to get a copy of this message | ||
In PHP 5.2.1 I tested this code:
<?php
// do nothing
<?
?>
error_reporting = E_STRICT causes that the browser returns a blank page
error_reporting = E_ALL returns "Parse error: syntax error, unexpected '<' in
htdocs\test.php on line 3"
So if you want E_STRICT testing you can use "error_reporting = E_ALL|E_STRICT". I
don't know if this behavior is intentional. This construction is also neither in the manual nor
in the comments of the php.ini files.
----
Server IP: 194.153.94.10
Probable Submitter: 212.41.117.49
----
Manual Page -- http://www.php.net/manual/en/function.error-reporting.php
Edit -- https://master.php.net/note/edit/74517
Del: integrated -- https://master.php.net/note/delete/74517/integrated
Del: useless -- https://master.php.net/note/delete/74517/useless
Del: bad code -- https://master.php.net/note/delete/74517/bad+code
Del: spam -- https://master.php.net/note/delete/74517/spam
Del: non-english -- https://master.php.net/note/delete/74517/non-english
Del: in docs -- https://master.php.net/note/delete/74517/in+docs
Del: other reasons-- https://master.php.net/note/delete/74517
Reject -- https://master.php.net/note/reject/74517
Search -- https://master.php.net/manage/user-notes.php