|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-07-19 07:18 UTC] raadtblare at hotmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 10:00:01 2025 UTC |
Description: ------------ session_decode() is returning the correct data, but it is not populating $_SESSION. This is contrary to the documentation I found, which says the opposite should be done. I like that session_decode() returns a value, but it should also populate $_SESSION. Reproduce code: --------------- $myvar = session_decode($data); var_dump($myvar); echo '<br />'; var_dump($_SESSION); Expected result: ---------------- bool(false) bool(false) Actual result: -------------- bool(false) array(0) { }