]> granicus.if.org Git - php/commit
Implement reverse iteration for codeunits and codepoints. Combining
authorAndrei Zmievski <andrei@php.net>
Tue, 7 Feb 2006 20:01:28 +0000 (20:01 +0000)
committerAndrei Zmievski <andrei@php.net>
Tue, 7 Feb 2006 20:01:28 +0000 (20:01 +0000)
commit1a6b00fc01629966c322cebe9ddd4656c19d3282
tree08dd0fc3f05dbed1e9b61de7bbff24c73df81bd4
parentf0a9b2d51b88c27024580c80e16a84b479fc8ee4
Implement reverse iteration for codeunits and codepoints. Combining
sequences are next.

# This is ugly, though.
# foreach (new TextIterator($a, # TextIterator::CODE_POINT|TextIterator::REVERSE) as $k => $c) {
#    var_dump("$k: $c");
# }
# Any suggestions?
ext/unicode/unicode_iterators.c