@ symbol in PHP
What are the advantages of using $exists = @$userID;
statement, compared to the longer notation of if(isset($userID)){$exists = $userID; }else{$exists = false;}
if(isset($userID)){$exists = $userID; }else{$exists = false;}
Is the "@"
notation a lot faster, because I find it less readable ?
显然,在谷歌搜索5秒后,它抑制了错误报告。
链接地址: http://www.djcxy.com/p/57716.html上一篇: 评估顺序和@登录PHP代码段?
下一篇: PHP中的@符号