Re: Problem with MySQL

From: Date: Tue, 20 Mar 2007 16:02:14 +0000
Subject: Re: Problem with MySQL
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-250927@lists.php.net to get a copy of this message
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 ...

« previous php.general (#250927) next »