Question: two optional arguments
| From: | Uwe Steinmann | Date: | Thu, 29 Apr 1999 06:15:58 +0000 |
| Subject: | Question: two optional arguments | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5286@lists.php.net to get a copy of this message | ||
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@lists.php.net
For help: php-dev-help@lists.php.net