|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2020-08-13 12:49 UTC] cmb@php.net
-Status: Open
+Status: Verified
-PHP Version: 7.4.9
+PHP Version: 7.3
[2020-08-16 05:41 UTC] jdomenechbborges at gmail dot com
[2020-09-23 10:28 UTC] nikic@php.net
-Status: Verified
+Status: Closed
-Assigned To:
+Assigned To: nikic
[2020-09-23 10:28 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 21:00:01 2025 UTC |
Description: ------------ This code new ReflectionMethod('xxx', 1) throws ArgumentCountError: "ReflectionMethod::__construct() expects exactly 1 parameter, 2 given", which is wrong. Test script: --------------- https://3v4l.org/Yvsgk Expected result: ---------------- It should throw TypeError: ReflectionMethod::__construct(): Argument #2 ($method) must be of type string, int given