什么是黑白 @$_REQUEST[] 和 $_REQUEST[] 的区别是什么


what is difference b/w @$_REQUEST[] and $_REQUEST[]

@$_REQUEST[]$_REQUEST[]有什么区别?为什么我们在$_REQUEST[]面前使用@

PHP 支持一个错误控制运算符:at 符号 (@)。在 PHP 中附加到表达式前面时,该表达式可能生成的任何错误消息都将被忽略。

请参考 http://php.net/manual/en/language.operators.errorcontrol.php

@$_REQUEST[] - 使用 @(错误控制运算符)隐藏错误

$_REQUEST[] - HTTP 请求变量