Re: Internal iteration API
| From: | Stas Malyshev | Date: | Thu, 12 Jul 2012 04:54:30 +0000 |
| Subject: | Re: Internal iteration API | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61152@lists.php.net to get a copy of this message | ||
Hi!
> To add my $0.02, it'd be nice to work in a zend_parse_parameters() type for
> this. Keep extension code clean and ensures any temporary iterators get
> destructed.
Definitely, that'd be a great benefit. Just return zend_iterator * which
you can use to get current/next zvals and converting functions to work
with any Traversable will be a breeze.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227