note 1525 deleted from Classes and Objects by ronabop

From: Date: Thu, 17 Aug 2000 09:55:17 +0000
Subject: note 1525 deleted from Classes and Objects by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2153@lists.php.net to get a copy of this message
You initialized $smallpouch within the function add_pouch, so when the function was through, the variable no longer existed. Also, you have to declare a variable with var if you want to be able to access it as $object->$variable

« previous php.notes (#2153) next »