Hey Clay: On Wed, Jul 03, 2002 at 03:25:42PM -0700, Clay Loveless wrote: > > Looks like your conclusion is the same as mine: the object variables are > readable within the handler functions, but they are not writeable.
I don't think that's an accurate description. The object variables are writiable, but their scope remains within the particular funciton. So, in essence, in my test, there are three $this->count variables floating around -- one for each function. > I'm convinced this has to be a bug ... Because what good is a "contained" > class if you've got to interact with global variables in order to get the > job done? Well, it may or may not be a bug. This strange behavior is probably due to the special nature of the XML functions. They don't really seem to be integrated into the class. Other user defined methods inside classes still behave as usual. With the scope of object variables being global to the object and all methods therein. Further clarification on this subject need to be provided by someone with a better understanding PHP's inner workings. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php