tags:

views:

75

answers:

3

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 @?

+4  A: 

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.

Sarfraz
+1  A: 

"Swallow an error", continue despite an error occuring. An non-critical operation augmented with @ will not abort script execution.

SF.
A: 

@ symbol is an error control operator check out manual here

YetAnotherCoder