From 9ff713ce96f9c415e8d0139b69a956f595532198 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Tue, 3 Jul 2001 06:55:03 +0000 Subject: [PATCH] Added link to resources appendix. TRUE/FALSE literalized. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50508 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/session.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/functions/session.xml b/functions/session.xml index 2414e1812e..bd96e85bd4 100644 --- a/functions/session.xml +++ b/functions/session.xml @@ -347,7 +347,7 @@ To continue, <A HREF="nextpage.php?<?=SID?>">click here</A> the current one based on the session id being passed via a GET variable or a cookie). - This function always returns true. + This function always returns TRUE. @@ -375,7 +375,8 @@ To continue, <A HREF="nextpage.php?<?=SID?>">click here</A> associated with the current session. - This function returns true on success and false on failure to destroy + This function returns TRUE on success and + FALSE on failure to destroy the session data. @@ -548,7 +549,7 @@ echo "The previous session name was $previous_name<p>"; variable named by it with the current session. - This function returns true when the variable is successfully + This function returns TRUE when the variable is successfully registered with the session. @@ -560,6 +561,8 @@ echo "The previous session name was $previous_name<p>"; session is restored. PHP functions that return a resource are identified by having a return type of resource in their function definitions. + You may also find a list of resource-creating fonctions in + the appendices. @@ -591,7 +594,7 @@ echo "The previous session name was $previous_name<p>"; current session. - This function returns true when the variable is successfully + This function returns TRUE when the variable is successfully unregistered from the session. @@ -640,7 +643,7 @@ echo "The previous session name was $previous_name<p>"; - session_is_registered returns true if there + session_is_registered returns TRUE if there is a variable with the name name registered in the current session.