What does the '@' prefix do in PHP? [duplicate]
This question already has an answer here: Reference — What does this symbol mean in PHP? 18 answers What does the '@' symbol do in the following code? @mkdir(ROOT. "cache/"); It suppresses errors from displaying : 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. If the track_errors feature is enabled, any error message generated by the expression will be saved in the variable $php_errormsg. This variable will be overwritten on each error, so check early if you want to