Re: how do i give optional arguments to functions??
| From: | Richard S. Crawford | Date: | Wed, 24 Oct 2001 17:40:55 +0000 |
| Subject: | Re: how do i give optional arguments to functions?? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72131@lists.php.net to get a copy of this message | ||
Ahh, good point. Thanks for the tip. :)
At 10:45 AM 10/24/2001, Tamas Arpad wrote:
Not really necessary, but I like to make code without any warning message (it also makes the code more cleaner as you said), and you'll get a warning message if there's no parameter given at the function call (without the default value).Sliante, Richard S. Crawford http://www.mossroot.com mailto:rscrawford@mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry "Push the button, Max!"Arpi