PHP 4.0 Bug #4285 Updated: Unexpected warning using an object in a session

From: Date: Sat, 13 May 2000 11:57:46 +0000
Subject: PHP 4.0 Bug #4285 Updated: Unexpected warning using an object in a session
Groups: php.dev 
Request: Send a blank email to php-dev+get-18688@lists.php.net to get a copy of this message
ID: 4285 Updated by: thies Reported By: yzhang@sfu.ca Status: Closed Bug Type: Session related Assigned To: Comments: please make the class definition always available to your script! in you case "class object" is only available is $SESSION is not set! moving: class object{}; before the if statement will solve yor problem Full Bug description available at: http://bugs.php.net/version4/?id=4285

« previous php.dev (#18688) next »