Hi Sebastian

On 6/8/06, Sebastian Bergmann <[EMAIL PROTECTED]> wrote:
 http://phpfi.com/122573

Looks like the arginfo patch broke it.., well, actually it uncovered a
bug in ext/reflection.
The messages are correct, ReflectionMethod::invokeArgs takes two
arguments but ReflectionFunction::invokeArgs only takes one
(ReflectionMethod extends ReflectionFunction) ergo=>E_STRICT in 5_2
and fatal in HEAD.

The reason for it worked before is the engine has no idea about how
many arguments each method takes - unless it gets that info
specifically.

We've got two options: don't provide the argument info (and therefor
break our own OO rules) or take a deeper look into ext/reflection and
fix the inherit problems..

-Hannes

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to