]> granicus.if.org Git - php/commit
EmptyIterator now implements Countable; fixes bug 60577
authorLevi Morrison <levim@php.net>
Thu, 12 Sep 2013 22:03:39 +0000 (16:03 -0600)
committerDavid Soria Parra <dsp@php.net>
Mon, 16 Sep 2013 02:04:53 +0000 (04:04 +0200)
commit8a936e8eb938965b0daaf076c109ec60141e57a7
tree6bfac0cbd40c2b4b85db07c7602daba927d2ddcb
parentc0afe829e33c5f5690c6967a102148984836d5aa
EmptyIterator now implements Countable; fixes bug 60577

(cherry picked from commit 6398844c86bee08abe4ee3f206ecd86ad0a498f9)
ext/spl/internal/emptyiterator.inc
ext/spl/spl_iterators.c
ext/spl/tests/bug60577.phpt [new file with mode: 0644]