我已经看到@在某些功能前面使用了,如下所示:
@
$fileHandle = @fopen($fileName, $writeAttributes);
这个符号有什么用?
它抑制错误消息-请参阅PHP手册中的错误控制运算符。