Re: Problem with MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux