函数调用前的@字符 [英] @ character before a function call
本文介绍了函数调用前的@字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这两个函数在PHP中的调用有什么区别?
What is the difference between these two function calls in PHP?
init_get($somevariable);
@init_get($somevariable);
推荐答案
"@"将使您的函数可能引发的任何php错误失效.
the "@" will silence any php errors your function could raise.
这篇关于函数调用前的@字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文