From:             jason at amp-design dot net
Operating system: Cent OS 3
PHP version:      5CVS-2005-03-23 (dev)
PHP Bug Type:     Zend Engine 2 problem
Bug description:  The @ warning error supression operator is broken

Description:
------------
The @ operator that is used to supress errors about warnings and other non
critical errors such as notices seems to be broken in this mornings
snapshot of 5.1.0. This is quite fustrating as it's handy to use the @
operator when you want pass NULL when the variable doesn't exist.



Reproduce code:
---------------
<?php $data = @$not_exists; ?>

Expected result:
----------------
$data is assigned with NULL without an error message

Actual result:
--------------
Notice: Undefined variable: not_exists in
/data/web/tools/iq_framework/test.php on line 1

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

Reply via email to