]> granicus.if.org Git - php/commit
Use normal error in SPL for 'An iterator cannot be used with foreach by reference'
authorGeorge Peter Banyard <girgias@php.net>
Fri, 11 Sep 2020 16:35:50 +0000 (18:35 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Tue, 15 Sep 2020 10:49:59 +0000 (12:49 +0200)
commit9affbef0e6f13177b46804ec69fd038b07c326f9
tree89c07c864d3b2a155fc54375ffff346c24fa7791
parent4fc7026630df42b41c4d86366342998b3fddd6e0
Use normal error in SPL for 'An iterator cannot be used with foreach by reference'
12 files changed:
ext/spl/spl_array.c
ext/spl/spl_directory.c
ext/spl/spl_dllist.c
ext/spl/spl_fixedarray.c
ext/spl/spl_heap.c
ext/spl/spl_iterators.c
ext/spl/tests/DirectoryIterator_by_reference.phpt
ext/spl/tests/SPLDoublyLinkedList_iterate_by_reference.phpt
ext/spl/tests/array_019.phpt
ext/spl/tests/fixedarray_021.phpt
ext/spl/tests/heap_009.phpt
ext/spl/tests/iterator_069.phpt