What is the meaning of @ in php?

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.


这里@符号是错误控制操作员检查手册

链接地址: http://www.djcxy.com/p/57698.html

上一篇: 什么时候在PHP和MySQL中使用'@'运算符

下一篇: @在php中的含义是什么?