summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/breakiterator_methods.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-03-04 10:53:47 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-06-24 15:09:21 +0200
commit4730b06f1d026047c63980298d358e28e2183de6 (patch)
tree33448c7a0cfd955e77b1ae423391b2ee1efa0d2d /ext/intl/breakiterator/breakiterator_methods.cpp
parentbcb9658b87b954fb3f910d337d9abf83b74b21f3 (diff)
downloadphp-git-4730b06f1d026047c63980298d358e28e2183de6.tar.gz
Make SimpleXMLElement a RecursiveIterator
Context: https://externals.io/message/108789 This essentially moves the functionality of SimpleXMLIterator into SimpleXMLElement, and makes SimpleXMLIterator a no-op extension. Ideally SimpleXMLElement would be an IteratorAggregate, whose getIterator() method returns SimpleXMLIterator. However, because SimpleXMLIterator extends SimpleXMLElement (and code depends on this in non-trivial ways), this is not possible. The only way to not keep SimpleXMLElement as a magic Traversable (that implements neither Iterator nor IteratorAggregate) is to move the SimpleXMLIterator functionality into it. Closes GH-5234.
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_methods.cpp')
0 files changed, 0 insertions, 0 deletions