Hi,

As you all may know, this is how you set an optional second argument, that
defaults to acidophilus

function makeyogurt ($flavour, $type = "acidophilus")
{ }

I'm now looking for a way to have the second (optional) argument be an array
of strings. I can't get it to work though...

In pseudo-code:

function makeyogurt ($flavour, $type = 'EMPTY ARRAY')
{ }

Any help would be much appreciated,
Michael



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to