call_user_func_array bug

From: Date: Mon, 15 Apr 2002 13:22:29 +0000
Subject: call_user_func_array bug
Groups: php.dev 
Request: Send a blank email to php-dev+get-82806@lists.php.net to get a copy of this message
call_user_func_array and family support methods and functions but not class methods. I'm using swig to generate the php module for xapian (was OpenMuscat) and want to patch swig so that methods shadow classes can take variable numbers of arguments. The shadow methods need to pass on the same number of arguments using get_args() and call_user_func_array, but can't because call_user_func_array can't call a class method. Is there a good reason why call_user_func_array doesn support class methods? Sam

« previous php.dev (#82806) next »