]> granicus.if.org Git - php/commitdiff
Fixed bug #77518
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 25 Jan 2019 10:12:34 +0000 (11:12 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 25 Jan 2019 10:12:34 +0000 (11:12 +0100)
NEWS
ext/spl/spl_iterators.c

diff --git a/NEWS b/NEWS
index 6c422923c7d8e28dea094843981daa4d51186f6a..50182c091e80b497abfbf37509e6127785e730eb 100644 (file)
--- 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)
index 602261c140def7883f5632cfcb77f4370c03de1b..e1ce3cf6f90ffd48b528f77022e862746352091f 100644 (file)
@@ -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[] = {