note 18149 added to language.oop.serialization

From: Date: Sat, 12 Jan 2002 02:11:03 +0000
Subject: note 18149 added to language.oop.serialization
Groups: php.notes 
Request: Send a blank email to php-notes+get-24726@lists.php.net to get a copy of this message
I've been trying to do session_register with a test page and it keeps taking the last value of the last variable assigned a value in the class and making others that way. so for example if you do a: $SomeClass->varone = "Something"; $SomeClass->vartwo = "Nothing"; if you do a: session_register("SomeClass"); on the next page when you do an echo $SomeClass->$varone; echo $SomeClass->$vartwo; it will print out the value of $SomeClass->$vartwo twice. I dont know if this is just something I did wrong, but this is what I'm getting. -- http://www.php.net/manual/en/language.oop.serialization.php http://master.php.net/manage/user-notes.php?action=edit+18149 http://master.php.net/manage/user-notes.php?action=delete+18149 http://master.php.net/manage/user-notes.php?action=reject+18149

« previous php.notes (#24726) next »