*/
public function isActive()
{
- if (PHP_VERSION_ID >= 50400) {
+ if (\PHP_VERSION_ID >= 50400) {
return $this->active = \PHP_SESSION_ACTIVE === session_status();
}
*/
public function setActive($flag)
{
- if (PHP_VERSION_ID >= 50400) {
+ if (\PHP_VERSION_ID >= 50400) {
throw new \LogicException('This method is disabled in PHP 5.4.0+');
}