\在PHP中做什么?
\
例如,CSRF4PHP有\FALSE,\session_id和\Exception:
\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); } }
\ (反斜杠)是PHP 5.3中的名称空间分隔符。
\函数开头的A表示全局命名空间。
将其放在此处将确保所调用的函数来自全局名称空间,即使当前名称空间中存在具有相同名称的功能。