note 18149 rejected from language.oop.serialization by didou
| From: | didou@php.net | Date: | Fri, 03 Oct 2003 16:29:53 +0000 |
| Subject: | note 18149 rejected from language.oop.serialization by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57746@lists.php.net to get a copy of this message | ||
Note Submitter: matt@gameopts.com
----
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.