BC break: ReflectionMethod::invoke() expects parameter 1 to be object, string given
| From: | Nicolas Grekas | Date: | Mon, 22 Aug 2016 11:17:57 +0000 |
| Subject: | BC break: ReflectionMethod::invoke() expects parameter 1 to be object, string given | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-95370@lists.php.net to get a copy of this message | ||
Hello,
now that the BC break on ReflectionType has been reverted, another one
remains in ReflectionMethod::invoke():
the method doesn't accept a string as first argument anymore, see e.g.:
https://3v4l.org/pImmv
As you can see, this worked since 5.0 and even in HHVM.
It would be great to fix this BC break please.
Regards,
Nicolas