Bug #53003 [Opn->Bgs]: no error reporting
| From: | aharvey@php.net | Date: | Thu, 07 Oct 2010 02:06:00 +0000 |
| Subject: | Bug #53003 [Opn->Bgs]: no error reporting | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-154967@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53003&edit=1
ID: 53003
Updated by: aharvey@php.net
Reported by: lourspolair at banquiz dot net
Summary: no error reporting
-Status: Open
+Status: Bogus
Type: Bug
Package: Scripting Engine problem
Operating System: Seven 64bit
PHP Version: 5.2.14
Block user comment: N
New Comment:
Not a bug: the parse error occurs during compilation, whereas the
error_reporting() and ini_set() calls don't take effect until runtime.
To see those errors, change the error_reporting and display_errors
settings in your php.ini.
Closing.
Previous Comments:
------------------------------------------------------------------------
[2010-10-06 18:19:33] lourspolair at banquiz dot net
Description:
------------
when your fingers do what they wants and you accidentaly type !===
they 're is no error reported... just a blank screen
Test script:
---------------
<?php
// force display error...
error_reporting(E_ALL);
ini_set('display_errors', 'on');
// init a var
$test = 'test';
// make a test
if($test !=== NULL)
{
echo 'ok';
}
die('STOP');
?>
Expected result:
----------------
okSTOP
Actual result:
--------------
nothing even, an error reports
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53003&edit=1