ID:               36466
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nullevent at gmail dot com
 Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: Windows XP
 PHP Version:      5.1.2
 New Comment:

For comprehension: it's not a crash, you're silencing a fatal error ->
script stops -> no output.



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

[2006-02-20 18:20:28] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

@ shuts up *all* errors...

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

[2006-02-20 17:48:08] nullevent at gmail dot com

Description:
------------
if(@$class->func()) crashes PHP when $class variable is undefined.

Reproduce code:
---------------
<?php

if (@$class->func())
        echo 'yes';

echo 'Independent output';

?>

Expected result:
----------------
Some error message about $class variable is undefined

Actual result:
--------------
Nothing.


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


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

Reply via email to