From:             drmaples at gmail dot com
Operating system: linux
PHP version:      5.0.0
PHP Bug Type:     Scripting Engine problem
Bug description:  no error reporting if error in code block

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 bug report at http://bugs.php.net/?id=29513&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29513&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29513&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29513&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29513&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29513&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29513&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29513&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29513&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29513&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29513&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29513&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29513&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29513&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29513&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29513&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29513&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29513&r=float

Reply via email to