ID: 41569 Updated by: [EMAIL PROTECTED] Reported By: salsi at icosaedro dot it -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2007-06-02 20:51:15] salsi at icosaedro dot it Description: ------------ The Reflection*::invoke() methods accept zero or more arguments of mixed type, but the signature as reported in the documentation about the Reflection* classes does not make this evident, and apparently there is only one mandatory argument. A syntax similar to call_user_func() should be used instead, so: ReflectionFunction::invoke(mixed args) becomes ReflectionFunction::invoke([mixed $...]) and ReflectionMethod::invoke(object obj, mixed args) becomes ReflectionMethod::invoke(object obj [, [mixed $args]) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41569&edit=1
