#29513 [Fbk->NoF]: no error reporting if error in code block
| From: | php-bugs at lists dot php dot net | Date: | Sat, 21 Aug 2004 23:00:06 +0000 |
| Subject: | #29513 [Fbk->NoF]: no error reporting if error in code block | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65047@lists.php.net to get a copy of this message | ||
ID: 29513
Updated by: php-bugs@lists.php.net
Reported By: drmaples at gmail dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Scripting Engine problem
Operating System: linux
PHP Version: 5.0.0
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2004-08-04 07:54:52] derick@php.net
Works fine for me:
derick@kossu:~$ php
<?php
error_reporting(E_STRICT | E_ALL);
echo $is_this
echo $an_error
?>
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in -
on line 4
------------------------------------------------------------------------
[2004-08-03 23:55:06] drmaples at gmail dot com
Description:
------------
no errors are reported even though explicitly stated to report errors.
removing the 2nd echo statement allows the error to be reported.
'./configure' '--with-mysql=/usr/local/mysql'
'--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-wddx'
'--with-xmlrpc' '--enable-exif'
'--with-oci8=/usr/lib/oracle/10.1.0.2/client' '--enable-sigchild'
'--with-gd' '--with-zlib-dir=/usr/include'
'--with-jpeg-dir=/usr/include' '--enable-gd-native-ttf'
'--with-ttf=/usr/include/freetype'
'--with-freetype-dir=/usr/include/freetype2' '--enable-sockets'
Reproduce code:
---------------
<?php
error_reporting(E_STRICT | E_ALL);
echo $is_this
echo $an_error
?>
Expected result:
----------------
have an error reported that a semicolon is expected
Actual result:
--------------
nothing prints to screen at all
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29513&edit=1