|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-12-03 17:26 UTC] jani@php.net
-Status: Open
+Status: Bogus
[2010-12-03 17:26 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 02:00:01 2025 UTC |
Description: ------------ A session variable can be created containing a '!', but the entire session is destroyed when the system tries to write the session file. Test script: --------------- <?php session_start(); $_SESSION['as!df'] = array("test 123"); // print_r on _SESSION here shows expected result. session_write_close(); session_start(); echo "<pre>".print_r($_SESSION,true)."</pre>"; Expected result: ---------------- Array ( [as!df] => Array ( [0] => test 123 ) ) Actual result: -------------- Array ( )