com php-src: Add NEWS entry and a test for Bug#71412: NEWS ext/spl/tests/bug71412.phpt

From: Date: Sun, 02 Jul 2017 14:41:38 +0000
Subject: com php-src: Add NEWS entry and a test for Bug#71412: NEWS ext/spl/tests/bug71412.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98302@lists.php.net to get a copy of this message
Commit: f066f59eab719d0171febf7bcd7f70edb5ffd6bd Author: Sara Golemon <pollita@php.net> Sun, 2 Jul 2017 10:21:58 -0400 Parents: 96fe07e0062393d04188aa79f66979fc6bd4fee8 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f066f59eab719d0171febf7bcd7f70edb5ffd6bd Log: Add NEWS entry and a test for Bug#71412 Bugs: https://bugs.php.net/71412 Changed paths: M NEWS A ext/spl/tests/bug71412.phpt Diff: diff --git a/NEWS b/NEWS index d8bb63d..7f461a8 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 0000000..3378604 --- /dev/null +++ b/ext/spl/tests/bug71412.phpt @@ -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 ] + } +}

« previous php.cvs (#98302) next »