From:             php at cybertinus dot nl
Operating system: Windows XP Pro and Red Hat 8
PHP version:      5.0.0
PHP Bug Type:     PHP options/info functions
Bug description:  E_STRICT doesn't work

Description:
------------
As soon as you have E_STRICT in your error_reporting line (In your code,
or in php.ini, it's all the same) and you have an error, all that is
returned by the code is the Actual result. It doesn't matter if you have
more code, or HTML before PHP. This is all you get.

Reproduce code:
---------------
<?php
error_reporting(E_ALL & E_STRICT);
echo $foo;
?>

Expected result:
----------------
In HTML:
<br />
<b>Notice</b>: Udefined variable: foo in
<b>/var/www/html/<above_code>.php</b> on line <b>3</b><br />

Actual result:
--------------
In HTML:
<html><body></body></html>

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

Reply via email to