Re: Possible to have optional values in function?

From: Date: Fri, 26 Jul 2002 15:45:53 +0000
Subject: Re: Possible to have optional values in function?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109769@lists.php.net to get a copy of this message
I'm with Jason on this one... it's reasonably easy to figure out by looking in the manual, reading the section/chapter on functions. it took me about 15 seconds to find the relevant paragraphs and examples: http://www.php.net/manual/en/functions.arguments.php JJ Harrison, look under "default argument values" heading on the above page, and you'll see your answer. Justin French on 26/07/02 11:34 PM, Martin Clifford (MLC1@nrc.gov) wrote: > Obviously it did NOT answer his question, otherwise he wouldn't be asking the > list. Try using some common sense. > > Martin > >>>> php-general@gremlins.com.hk 07/26/02 09:32AM >>> > On Friday 26 July 2002 21:24, JJ Harrison wrote: >> I *did* rtfm(or searched it at least). >> >> That is why I asked the group. > > So you've read the chapter on functions, and did it answer your question?

« previous php.general (#109769) next »