Hello Sebastian, Tuesday, January 13, 2004, 3:09:39 PM, you wrote:
SO> I cannot believe that there is no way of making an object parameter
SO> optional.
function ($parameter1, $parameter2 = NULL)
{
// etc
}
If passed to your function, $parameter2 will be your object (or
string or whatever you wanted), if not passed in it'll be null.
--
Best regards,
Richard mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

