Re: Possible to have optional values in function?
| From: | Richard Lynch | Date: | Mon, 29 Jul 2002 07:55:03 +0000 |
| Subject: | Re: Possible to have optional values in function? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-110113@lists.php.net to get a copy of this message | ||
>is it possible to have optional values in a PHP function?
>
>some of the built in ones have optional parameters.
Yes.
And it's documented in the manual:
http://php.net/functions
And it's just like C anyway, mostly, so you could have tried it and had an
answer faster than asking thousands of people.
You also can have an unlimited number of arguments and there are functions
for "meta" information about the number of arguments.
--
Like Music? http://l-i-e.com/artists.htm
I'm looking for a PRO QUALITY two-input sound card supported by Linux (any
major distro). Need to record live events (mixed already) to stereo
CD-quality. Soundcard Recommendations?
Software to handle the recording? Don't need fancy mixer stuff. Zero (0)
post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo
audio-to-disk.