Németh Zoltán wrote:
> 2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta:
>> Hello !

...

> 
> what do you want with that '@' here?
> that operator can be used to suppress error messages when calling
> functions but not when using a variable
> 

not true - although it's a lazy/bad* way of doing things,
the following only emits 1 E_NOTICE:

php -r '
error_reporting(E_ALL);
if ($foo == "bar")
        echo "qux";
if (@$foo == "bar")
        echo "qux";
'

*take your pick

...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to