php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch LimitIterator_implement_SeekableIterator for SPL related Bug #63508Patch version 2012-11-13 23:08 UTC Return to Bug #63508 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: levim@php.netdiff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 7b77cf5..50ff93a 100644 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -3709,6 +3709,7 @@ PHP_MINIT_FUNCTION(spl_iterators) REGISTER_SPL_ITERATOR(SeekableIterator); REGISTER_SPL_SUB_CLASS_EX(LimitIterator, IteratorIterator, spl_dual_it_new, spl_funcs_LimitIterator); + REGISTER_SPL_IMPLEMENTS(LimitIterator, SeekableIterator); REGISTER_SPL_SUB_CLASS_EX(CachingIterator, IteratorIterator, spl_dual_it_new, spl_funcs_CachingIterator); REGISTER_SPL_IMPLEMENTS(CachingIterator, ArrayAccess); |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Wed May 15 03:01:33 2024 UTC |