> >http://marc.theaimsgroup.com/?l=php-dev&m=107367078904900&w=2 > > > >The main problem with a too early beta/rc release is we (well you ;) ) > >have to be sure that the ZE2 apis works the way it should. And not only > >from the php side. For the good all php extensions that are not bundled > >with the php releases (and I'm not thinking only about pecl :) ). > > Yeah we looked at it today. It seems to be a bit of a problem. The correct > way of doing this is to nuke get_properties() and only use set/get > overloading handlers. However, it would mean that extension writers who > want foreach() to work would have to implement iterator interface. > I'm not quite sure how to go on this one. IMO get_properties() should not > be used with non-PHP objects. >
how would one handle var_dump($obj) then? -sterling > Andi > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- "Reductionists like to take things apart. The rest of us are just trying to get it together." - Larry Wall, Programming Perl, 3rd Edition -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php