diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | ext/spl/spl_iterators.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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[] = { |