mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Don't use reference in sessions (bug #16387)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165566 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d4d39d519a
commit
0025122ade
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.47 $ -->
|
||||
<!-- $Revision: 1.48 $ -->
|
||||
<reference id="ref.session">
|
||||
<title>Session Handling Functions</title>
|
||||
<titleabbrev>Sessions</titleabbrev>
|
||||
|
@ -211,6 +211,12 @@ unset($_SESSION['count']);
|
|||
</para>
|
||||
</caution>
|
||||
</para>
|
||||
<warning>
|
||||
<para>
|
||||
You can't use references in session variables as there is no feasible way
|
||||
to restore reference to other variable.
|
||||
</para>
|
||||
</warning>
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
|
|
Loading…
Reference in a new issue