mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
documented issue in bug #8719
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50260 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5a0b2aa3d0
commit
e80d74cb09
1 changed files with 16 additions and 5 deletions
|
@ -536,12 +536,23 @@ echo "The previous session name was $previous_name<p>";
|
|||
<para>
|
||||
This function returns true when the variable is successfully
|
||||
registered with the session.
|
||||
<note>
|
||||
<para>
|
||||
This function was added in PHP 4.0.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
It is not currently possible to register resource variables in a
|
||||
session. For example, you can not create a connection to a
|
||||
database and store the connection id as a session variable and
|
||||
expect the connection to still be valid the next time the
|
||||
session is restored. PHP functions that return a resource are
|
||||
identified by having a return type of
|
||||
<literal>resource</literal> in their function definitions.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<para>
|
||||
This function was added in PHP 4.0.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue