|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-09-08 16:09 UTC] mattar at jep dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
<? class test { var $num; function test($p) { $this->num=$p; } function nothing() {} } $temp[0]=new test("foo"); echo htmlentities(serialize($temp)); $temp[0]->nothing(); echo "<p>".htmlentities(serialize($temp)); ?> ---- The above script gives me the following output: ---- a:1:{i:0;O:4:"test":1:{s:3:"num";s:3:"foo";}} a:1:{} ---- This too breaks the session functions for that object.