Re: Objects and case

From: Date: Wed, 10 Oct 2001 08:59:49 +0000
Subject: Re: Objects and case
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70608@lists.php.net to get a copy of this message
You must load class definition, BEFORE you start session. (Do not use session auto_start, if you need to deal with objects) If you are serializing object by yourself, make sure you load class definition before unserializing object. Object names are case insensitive, just like function names. IIRC. -- Yasuo Ohgaki Ouster wrote:
I've created an object named "ProfiloPC", and stored its definition in an included file. When I serialize this object I can see its name is "profilopc". I need to use this object in a session, but I receive an error message where PHP says that I've tried to use a method of the class"profilopc". Of course I include the file with the definition of the class in each page, as the manual state, but objects name are case sensitive? I'm using NT4, IIS4, PHP 4.0.5 Thanks.


« previous php.general (#70608) next »