diff options
author | Michael Moravec <mail@majkl578.cz> | 2017-11-02 19:22:37 +0100 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2017-11-06 17:52:17 -0500 |
commit | f70ca770b657f2d0dfe2b44f369c266e1ae15ab2 (patch) | |
tree | a9f8298e6b0825bd6b5f4a3df54bd1b691b281ba /ext/reflection/tests | |
parent | 5060fc2349447fe17b59184a0147e73feb0e7a30 (diff) | |
download | php-git-f70ca770b657f2d0dfe2b44f369c266e1ae15ab2.tar.gz |
Revert BC break caused by fixing bug #74035
This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.
Diffstat (limited to 'ext/reflection/tests')
-rw-r--r-- | ext/reflection/tests/ReflectionClass_toString_001.phpt | 2 | ||||
-rw-r--r-- | ext/reflection/tests/bug74035.phpt | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/ext/reflection/tests/ReflectionClass_toString_001.phpt b/ext/reflection/tests/ReflectionClass_toString_001.phpt index 5a2b497905..179d63afad 100644 --- a/ext/reflection/tests/ReflectionClass_toString_001.phpt +++ b/ext/reflection/tests/ReflectionClass_toString_001.phpt @@ -265,7 +265,7 @@ Class [ <internal:Reflection> class ReflectionClass implements Reflector ] { Method [ <internal:Reflection> public method newInstance ] { - Parameters [1] { - Parameter #0 [ <optional> ...$args ] + Parameter #0 [ <required> $args ] } } diff --git a/ext/reflection/tests/bug74035.phpt b/ext/reflection/tests/bug74035.phpt deleted file mode 100644 index 74cf03f5e5..0000000000 --- a/ext/reflection/tests/bug74035.phpt +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Bug #74035: getNumberOfRequiredParameters wrong for ReflectionClass::newInstance ---FILE-- -<?php -$r = new ReflectionClass(ReflectionClass::class); -$m = $r->getMethod('newInstance'); - -echo $m->getNumberOfRequiredParameters(); -?> ---EXPECT-- -0 |