Re: print_r unaware of object's read_property handler

From: Date: Thu, 15 Feb 2007 14:36:16 +0000
Subject: Re: print_r unaware of object's read_property handler
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4533@lists.php.net to get a copy of this message
mike@php.net (Michael Wallner) wrote: > > I expect , every single part of ZEND engine uses my read_property hook. > > Every. > > Well, then face it. It just is not that way. > > var_dump(), print_r() and (array) cast use get_properties(). > > Assigning by reference, increment, decrement, accessing array index > use get_property_ptr_ptr(), or read_property() with type set to > BP_VAR_[R]W if there's no get_property_ptr_ptr(). Thanks Michael! I ask for two days if print_r is the only one exception. Piotras

« previous php.pecl.dev (#4533) next »