|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-04 10:06 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 21:00:02 2026 UTC |
<? ini_set("register_globals", 1); class foo { var $bar = "ok"; function method() { $this->yes = "done"; } } $baz = new foo; $baz->method(); $arr[3] = new foo; $arr[3]->method(); session_register("baz"); session_register("arr"); print session_encode()."\n"; session_destroy(); ?> Result: baz|N;arr|N;