ID:               14640
 Comment by:       destes at ix dot netcom dot com
 Reported By:      mfischer at guru dot josefine dot at
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Any
 PHP Version:      4.1.0
 New Comment:

what sorts of errors aren't being suppressed now?  If the variable
doesn't exist, nothing is output, and in a function context, FALSE is
returned.  I don't see the need... perhaps you could explain it?


Previous Comments:
------------------------------------------------------------------------

[2001-12-21 08:21:43] mfischer at guru dot josefine dot at

$ php -q
<? error_reporting(E_ALL);
echo "[EMAIL PROTECTED]'key']}"; ?>
<br />
<b>Parse error</b>:  parse error, expecting `T_STRING' or `T_VARIABLE'
or `T_NUM_STRING' in <b>-</b> on line <b>2</b><br />
-(2) : Parse error - parse error, expecting `T_STRING' or `T_VARIABLE'
or `T_NUM_STRING'

$ php -q
<? error_reporting(E_ALL);
echo "[EMAIL PROTECTED]";
?>
<br />
<b>Warning</b>:  Undefined variable:  foo in <b>-</b> on line
<b>2</b><br />
-(2) : Warning - Undefined variable:  foo
[EMAIL PROTECTED]

Would be nice to support the @ operator in those cases too.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=14640&edit=1

Reply via email to