Possible Duplicate:
What is the use of @ symbol in php?
I like to know the purpose and meaning of @ in php codes. For instance, @umask or @ini_set. What's the difference without @ and with @?
Possible Duplicate:
What is the use of @ symbol in php?
I like to know the purpose and meaning of @ in php codes. For instance, @umask or @ini_set. What's the difference without @ and with @?
PHP's error suppress operator used to suppress error messages.
SideNote: Avoid it as much as you can, also it slows down performance heavily and not allowed to be used in ini_get
and ini_set
functions in future php versions.
"Swallow an error", continue despite an error occuring. An non-critical operation augmented with @ will not abort script execution.