【发布时间】:2018-07-19 19:40:19
【问题描述】:
\\ 在 PHP 中的作用是什么?
例如,CSRF4PHP 具有 \\FALSE、\\session_id 和 \\Exception:
public function __construct($timeout=300, $acceptGet=\\FALSE){
$this->timeout = $timeout;
if (\\session_id()) {
$this->acceptGet = (bool) $acceptGet;
} else {
throw new \\Exception(\'Could not find session id\', 1);
}
}
-
@mario 非常好的 stackoverflow 主题。感谢您的链接:)
-
我想这个问题应该关闭,但我自己无法关闭主题..
-
这是一个重复的问题,但不是一个坏问题。但是您可以在标题中添加“反斜杠”,这样可以更轻松地搜索其他人。
-
重要的是要意识到,他们不再向信使开枪了。当你发现它是什么时,不要责怪我们:) 哦不,我太晚了。
-
如果这是重复的,请链接重复的项目。
标签: php namespaces opcode opcache