note 108407 deleted from session.constants by danbrown

From: Date: Thu, 10 May 2012 17:03:05 +0000
Subject: note 108407 deleted from session.constants by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-187637@lists.php.net to get a copy of this message
Note Submitter: freek dot vanraes at hotmail dot com ---- The comment below is not entirely correct: - The PHP_SESSION_DISABLED, PHP_SESSION_NONE and PHP_SESSION_ACTIVE constants are the return values of session_status(). Since session_status() was introduced in PHP 5.4.0, they are indeed only available in PHP 5.4.0. - You were wrong about the SID constant though, it can in fact be used in PHP versions below 5.4.0. Although, depending on the configuration directives in php.ini, it can return an empty string, which could cause the developer to think the constant is not available in his PHP build.

« previous php.notes (#187637) next »