@ symbol before php function
This question already has an answer here:
这是错误抑制运算符,通常不是一个好主意,因为您应该干净地捕获错误,而不是简单地隐藏它们
It will silent error messages. See http://php.net/manual/en/language.operators.errorcontrol.php
It means that if an error is generated by that function, it is not shown. It suppresses the error so to say. As the PHP manual states:
PHP supports one error control operator: the at sign (@). When prepended to an expression in PHP, any error messages that might be generated by that expression will be ignored.
Look here for more information: http://php.net/manual/en/language.operators.errorcontrol.php
链接地址: http://www.djcxy.com/p/10216.html上一篇: 什么是&PHP($ var&1)
下一篇: @功能之前的@符号