PHP functions and @functions

前端 未结 5 1658
南笙
南笙 2020-12-14 16:56

Basically, I\'ve seen people using @ before their function calls, not for every function, but for some kind of extension functions like file_get_contents(

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-14 17:14

    The @ symbol in front of a function prevents errors from being displayed when the function is called.

提交回复
热议问题