note 108407 added to session.constants

From: Date: Tue, 24 Apr 2012 12:43:10 +0000
Subject: note 108407 added to session.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-187317@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.197 Probable Submitter: 178.118.232.28 ---- Manual Page -- http://www.php.net/manual/en/session.constants.php Edit -- https://master.php.net/note/edit/108407 Del: integrated -- https://master.php.net/note/delete/108407/integrated Del: useless -- https://master.php.net/note/delete/108407/useless Del: bad code -- https://master.php.net/note/delete/108407/bad+code Del: spam -- https://master.php.net/note/delete/108407/spam Del: non-english -- https://master.php.net/note/delete/108407/non-english Del: in docs -- https://master.php.net/note/delete/108407/in+docs Del: other reasons-- https://master.php.net/note/delete/108407 Reject -- https://master.php.net/note/reject/108407 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187317) next »