Re: [PHP-DEV] how to catch '=' operations on objects
You have to do echo $obj->serialize(). It's just an additional few characters to type :) Andi At 05:54 PM 1/27/2001 +0100, Harald Radi wrote: >hi, > >i've written an extension and want the following: > > > >$var = new myObject(); > >$echo $var->elem;
[PHP-DEV] how to catch '=' operations on objects
hi, i've written an extension and want the following: $var = new myObject(); $echo $var->elem; // the php_myObject_property_handler() is called and i can return the value $echo $var // php prints out 'Object' , b