Skip to content

Commit 909d0a3

Browse files
committed
Fixed bug #77518
1 parent 7f13557 commit 909d0a3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ PHP NEWS
6666
. Added support for the SQLite @name notation. (cmb, BohwaZ)
6767
. Added SQLite3Stmt::getSQL() to retrieve the SQL of the statement. (Bohwaz)
6868

69+
- SPL:
70+
. Fixed bug #77518 (SeekableIterator::seek() should accept 'int' typehint as
71+
documented). (Nikita)
72+
6973
- Standard:
7074
. Fixed bug #74764 (Bindto IPv6 works with file_get_contents but fails with
7175
stream_socket_client). (Ville Hukkamäki)

ext/spl/spl_iterators.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2572,7 +2572,7 @@ SPL_METHOD(LimitIterator, getPosition)
25722572
} /* }}} */
25732573

25742574
ZEND_BEGIN_ARG_INFO(arginfo_seekable_it_seek, 0)
2575-
ZEND_ARG_INFO(0, position)
2575+
ZEND_ARG_TYPE_INFO(0, position, IS_LONG, 0)
25762576
ZEND_END_ARG_INFO();
25772577

25782578
static const zend_function_entry spl_funcs_SeekableIterator[] = {

0 commit comments

Comments
 (0)