Skip to content

Commit

Permalink
Add NEWS entry and a test for Bug#71412
Browse files Browse the repository at this point in the history
  • Loading branch information
sgolemon committed Jul 2, 2017
1 parent 96fe07e commit f066f59
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ PHP NEWS

- SPL:
. Fixed bug #73471 (PHP freezes with AppendIterator). (jhdxr)
. Fixed bug #71412 (Incorrect arginfo for ArrayIterator::__construct).
(tysonandre775 at hotmail dot com)

- Session:
. Fixed bug #74514 (5 session functions incorrectly warn when calling in
Expand Down
16 changes: 16 additions & 0 deletions ext/spl/tests/bug71412.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
--TEST--
Bug#71412 ArrayIterator reflection parameter info
--SKIPIF--
<?php
extension_loaded('SPL') || print "skip";
--FILE--
<?php
echo (new ReflectionMethod('ArrayIterator', '__construct'));
--EXPECT--
Method [ <internal:SPL, ctor> public method __construct ] {

- Parameters [2] {
Parameter #0 [ <optional> $array ]
Parameter #1 [ <optional> $ar_flags ]
}
}

0 comments on commit f066f59

Please sign in to comment.