>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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to