note 7937 added to call_user_method

From: Date: Mon, 21 Aug 2000 09:04:02 +0000
Subject: note 7937 added to call_user_method
Groups: php.notes 
Request: Send a blank email to php-notes+get-2851@lists.php.net to get a copy of this message
You can pass a variable number of parameters to function, use a definition like: function mymethod ($v1, $v2, $v3="", $v4="") and then you can pass 2, 3 or 4 parameters. This is explained in the "Functions" section of the manual. See also the PHP4 functions: func_num_args(), func_get_arg(), and func_get_args(), and examples therein http://www.php.net/manual/function.call-user-method.php

« previous php.notes (#2851) next »