Cosa fa un \
PHP?
Ad esempio, CSRF4PHP ha \FALSE
, \session_id
e \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);
}
}