Re: PHP 4.0 Bug #5283: Session support working only in the php beta version.
| From: | Sascha Schumann | Date: | Thu, 29 Jun 2000 13:46:44 +0000 |
| Subject: | Re: PHP 4.0 Bug #5283: Session support working only in the php beta version. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22769@lists.php.net to get a copy of this message | ||
On Thu, 29 Jun 2000, Daniel Swarbrick wrote:
> Objects in sessions worked for me up to 4.0.0 release. 4.0.1 breaks this
> however. Complains that stdClass needs to be defined before calling
> session_start().
>
> Pain in the butt considering mysql_fetch_object() returns a stdClass.
The change you are talking about restricts accessing
properties in an object which class definition was not
available at deserialization time. We could handle objects of
class stdClass in a special way by allowing access to their
properties.
Comments?
- Sascha