From f066f59eab719d0171febf7bcd7f70edb5ffd6bd Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Sun, 2 Jul 2017 10:21:58 -0400 Subject: [PATCH] Add NEWS entry and a test for Bug#71412 --- NEWS | 2 ++ ext/spl/tests/bug71412.phpt | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 ext/spl/tests/bug71412.phpt diff --git a/NEWS b/NEWS index d8bb63d2b1..7f461a8752 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/ext/spl/tests/bug71412.phpt b/ext/spl/tests/bug71412.phpt new file mode 100644 index 0000000000..3378604af3 --- /dev/null +++ b/ext/spl/tests/bug71412.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug#71412 ArrayIterator reflection parameter info +--SKIPIF-- + public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $array ] + Parameter #1 [ $ar_flags ] + } +} -- 2.40.0