svn: /phpdoc/en/trunk/reference/session/ examples.xml

From: Date: Fri, 25 Jan 2013 07:37:46 +0000
Subject: svn: /phpdoc/en/trunk/reference/session/ examples.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-10961@lists.php.net to get a copy of this message
krakjoe Fri, 25 Jan 2013 07:37:46 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=329295 Log: in response to bug #64058, a warning is apparently appropriate Bug: https://bugs.php.net/64058 (Closed) Warn about register_globals Changed paths: U phpdoc/en/trunk/reference/session/examples.xml Modified: phpdoc/en/trunk/reference/session/examples.xml =================================================================== --- phpdoc/en/trunk/reference/session/examples.xml 2013-01-25 06:25:23 UTC (rev 329294) +++ phpdoc/en/trunk/reference/session/examples.xml 2013-01-25 07:37:46 UTC (rev 329295) @@ -83,6 +83,11 @@ to restore a reference to another variable. </para> </warning> + <warning> + <para> + If register_globals is set ON, then any key you use in $_SESSION will be a reference to a global variable of the same name. This will cause your session variables to change if you use a key that matches the name of a global variable. + </para> + </warning> </section> <section xml:id="session.idpassing">

« previous php.doc.cvs (#10961) next »