From: Nikita Popov Date: Fri, 25 Jan 2019 10:12:34 +0000 (+0100) Subject: Fixed bug #77518 X-Git-Tag: php-7.4.0alpha1~1155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=909d0a3d786118e0b1105288f6b88231e6697815;p=php Fixed bug #77518 --- diff --git a/NEWS b/NEWS index 6c422923c7..50182c091e 100644 --- a/NEWS +++ b/NEWS @@ -66,6 +66,10 @@ PHP NEWS . Added support for the SQLite @name notation. (cmb, BohwaZ) . Added SQLite3Stmt::getSQL() to retrieve the SQL of the statement. (Bohwaz) +- SPL: + . Fixed bug #77518 (SeekableIterator::seek() should accept 'int' typehint as + documented). (Nikita) + - Standard: . Fixed bug #74764 (Bindto IPv6 works with file_get_contents but fails with stream_socket_client). (Ville Hukkamäki) diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 602261c140..e1ce3cf6f9 100644 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -2572,7 +2572,7 @@ SPL_METHOD(LimitIterator, getPosition) } /* }}} */ ZEND_BEGIN_ARG_INFO(arginfo_seekable_it_seek, 0) - ZEND_ARG_INFO(0, position) + ZEND_ARG_TYPE_INFO(0, position, IS_LONG, 0) ZEND_END_ARG_INFO(); static const zend_function_entry spl_funcs_SeekableIterator[] = {