Re: @ Scope

From: Date: Fri, 16 Feb 2001 13:28:12 +0000
Subject: Re: @ Scope
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40140@lists.php.net to get a copy of this message
On Friday 16 February 2001 04:19, Maxim Maletsky wrote: > It will escape the error ... or better say you force the function to > always return true. [...] > $where = @where($user); > > this will always return true no matter what happen Bullshit (sorry. I just *had* to say this :). From the manual: When prepended to an expression in PHP, any error messages that might be generated by that expression will be ignored. It talks about error "messages". The return value isn't affected in any way. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) What luck for the rulers that men do not think. - Adolf Hitler

« previous php.general (#40140) next »