[PHP-DEV] Question: two optional arguments From: Uwe Steinmann (steinm <email protected>)
Date: 04/29/99

Hi,

I have a simple question which might be solved in another PHP3 function.
Maybe somebody can give me a pointer.

What is the best solution for passing parameters to a function with
two optional arguments, of which one may be omitted but not both?
Both paramters will be arrays.

Example:

   function($arr1, $arr2)

with $arr1 or $arr2 can be omitted.

  Uwe

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>