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

From: Date: Wed, 21 Jun 2000 17:14:56 +0000
Subject: Re: PHP 4.0 Bug #5152: Object passed in a session generates errors when member functions are called
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21919@lists.php.net to get a copy of this message
> Bottom line: please don't do this. This is bad hacky behaviour. In fact, > even stdClass is bad hacky behavour... I'd promote that warning to error > and thus forced right usage of session objects, but that could be too > bondage-and-discipline... We are currently discussing an easier method which simply caches the class name between unserialization and serialization, so that no extra dummy class needs to be created. - Sascha

« previous php.dev (#21919) next »