Re: @ operator

From: Date: Wed, 21 Mar 2001 18:48:56 +0000
Subject: Re: @ operator
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969334774@lists.php.net to get a copy of this message
Hi! > I noticed that the "@" operator works also on variables. > > <?php > error_reporting(E_ALL); > print @$not_defined_variables > print "<hr>"; // just for the sight > print $not_defined_variables > > ?> > > Did I mentionned something knew from long? > If not, I'll add this in the doc tomorow. Well, the text says: | When prepended to an expression in PHP, any error messages | that might be generated by that expression will be ignored. Variables are expressions themselfs... But you can add an exapmle like this. But it is not the intended use of this modifier I think... Maybe it is... Goba ........................................................... . . . . . Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror

« previous php.doc (#969334774) next »