PDA

View Full Version : The @ symbol


Serge
05-29-2003, 05:52 PM
What does the @ symbol mean when it is used before a funtion just as:

@copy()

noppid
05-29-2003, 06:00 PM
That supresses error messages from being displayed for that operation should any occur.

filburt1
05-29-2003, 06:10 PM
Very dangerous to use, BTW, because you won't know what problems would be happening. Always capture it to a variable; for example:

$result = @mysql_query("whatever");
if (!$result) weAllDieInFlames("now!");