Re: print_r unaware of object's read_property handler
| From: | Pierre | Date: | Fri, 16 Feb 2007 09:33:20 +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-4547@lists.php.net to get a copy of this message | ||
Hi Piotr,
On 2/16/07, Piotr Pokora <piotrek.pokora@gmail.com> wrote:
mike@php.net (Michael Wallner) wrote:Yes, it is the way. By the way, Tony is one of the only who has the real knowledge of all layers in PHP (ZE2->internals API->scripts), it would be nice if you give him a bit more credits and trust him when he is trying to give you valuable advices :) As a sidenote, I'm not sure what's your plan but you have to understand that trying to support ZE1 and ZE2 for the same OO interface is a sweet dream. You may consider (I would like to say "you should consider") to drop ZE1 support for the OO interface and focus on php5.1+ only for your rewrite/refactoring work (I do that for all my exts). --Pierre2. Update ce.default_properties hash when class is registered. Is it safe? ZEND1 segfaulted with such implementation.No idea about ZE1, but this (2) is the way to go. OK, thank you. Can you *all guys* confirm this?