Curt Zirzow wrote:
* Thus wrote John Holmes:
A later example implements ArrayAccess and IteratorAggregate and then
says you can use count($A), but it doesn't work for my tests. It always
returns 1.
That example i think is minor mistake. As noted in the example
above you have to call pass
This one time, at band camp, John Holmes [EMAIL PROTECTED] wrote:
Is anyone using SPL iterators out there? Any examples you'd like to share
that you find useful? Iterating through databases or large files, etc? Just
curious what people are using this for before I write some stuff myself. :)
Kevin Waterson wrote:
Is anyone using SPL iterators out there? Any examples you'd like to share
that you find useful? Iterating through databases or large files, etc? Just
curious what people are using this for before I write some stuff myself. :)
I am using them in the current script I am
* Thus wrote John Holmes:
A later example implements ArrayAccess and IteratorAggregate and then
says you can use count($A), but it doesn't work for my tests. It always
returns 1.
That example i think is minor mistake. As noted in the example
above you have to call pass -getIterator() to
* Thus wrote Curt Zirzow:
* Thus wrote John Holmes:
A later example implements ArrayAccess and IteratorAggregate and then
says you can use count($A), but it doesn't work for my tests. It always
returns 1.
That example i think is minor mistake. As noted in the example
above you have
5 matches
Mail list logo