diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-25 11:12:34 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-25 11:12:34 +0100 |
commit | 909d0a3d786118e0b1105288f6b88231e6697815 (patch) | |
tree | b93677ff3c827efa78d6bc31cbe55d5f3a0bd949 | |
parent | 7f13557843f636dc2f81bbc034b145947c020e16 (diff) | |
download | php-git-909d0a3d786118e0b1105288f6b88231e6697815.tar.gz |
Fixed bug #77518
-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[] = { |