Re: PHP 4.0 Bug #5152: Object passed in a session generateserrors when member functions are called

From: Date: Thu, 22 Jun 2000 08:42:16 +0000
Subject: Re: PHP 4.0 Bug #5152: Object passed in a session generateserrors when member functions are called
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21948@lists.php.net to get a copy of this message
SC>> session_var($sid, $myclass, "MyClass"); SC>> SC>> This would either get the session variable "MyClass", or create a new SC>> one, in either case assigning it to $myclass, and registering the class SC>> to be serialized at the end of the request. I don't understand what you mean. What is "registering the class"? You can't register the class, you can only register an object. Please explain. What do you mean by "serializing the class"? Class can't be serialized, it's not a variable, it's code+data structure. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#21948) next »