Re: [PHP-DEV] SimpleXMLIterator

2020-02-28 Thread Ben Ramsey
> On Feb 28, 2020, at 13:59, Mike Schinkel wrote: > > Well, that did not work as intended... > > >> On Feb 28, 2020, at 2:57 PM, Mike Schinkel wrote: >> >> OFFLIST The “off list” command has an underscore in it: OFF_LIST. ;-) Cheers, Ben signature.asc Description: Message signed with O

Re: [PHP-DEV] SimpleXMLIterator

2020-02-28 Thread Mike Schinkel
Well, that did not work as intended... > On Feb 28, 2020, at 2:57 PM, Mike Schinkel wrote: > > OFFLIST > > First one want to say but thanks and kudos for all you are doing for PHP. > > Second, and so as not to hijack your thread or worse start a whole bike > shedding debate on the list, I h

Re: [PHP-DEV] SimpleXMLIterator

2020-02-28 Thread Mike Schinkel
OFFLIST First one want to say but thanks and kudos for all you are doing for PHP. Second, and so as not to hijack your thread or worse start a whole bike shedding debate on the list, I have been wanted to ask you some questions and I saw this as a good segue to ask your thoughts on traits vs.

[PHP-DEV] SimpleXMLIterator

2020-02-28 Thread Nikita Popov
Hi internals, I'm currently trying to make sure that all internal Traversable classes implement either Iterator or IteratorAggregate. This is a hard requirement for userland classes, but internal classes can get away with implementing only the internal get_iterator() mechanism. ( https://github.co

Re: [PHP-DEV] SimpleXMLIterator

2004-08-29 Thread Mathieu Bruneau
Marcus Boerger wrote: > Hello Mathieu, > > Sunday, August 29, 2004, 4:18:25 AM, you wrote: > > >>Hi all, > > >> I have been playing with the SPL lately and today I ended up playing >>with the SimpleXMLIterator. > > >> The documentation on that class if fairly poor and I'm in fact >>requesting some

Re: [PHP-DEV] SimpleXMLIterator

2004-08-29 Thread Marcus Boerger
Hello Mathieu, Sunday, August 29, 2004, 4:18:25 AM, you wrote: > Hi all, > I have been playing with the SPL lately and today I ended up playing > with the SimpleXMLIterator. > The documentation on that class if fairly poor and I'm in fact > requesting some information about it. I

Re: [PHP-DEV] SimpleXMLIterator

2004-08-28 Thread Adam Maccabee Trachtenberg
On Sat, 28 Aug 2004, Mathieu Bruneau wrote: > I have been playing with the SPL lately and today I ended up playing > with the SimpleXMLIterator. > [snip] > Example: > > $xml = "Here we areThere"; > > $it = new SimpleXMLIterator($xml); foreach ($it as $k => $v) print "$k: $v\n"; test1: H

[PHP-DEV] SimpleXMLIterator

2004-08-28 Thread Mathieu Bruneau
Hi all, I have been playing with the SPL lately and today I ended up playing with the SimpleXMLIterator. The documentation on that class if fairly poor and I'm in fact requesting some information about it. I managed to create a SimpleXMLIterator passing it basic xml in the constructor but was