Re: global vars within 2-level functions
| From: | Jason Wong | Date: | Tue, 02 Apr 2002 18:24:59 +0000 |
| Subject: | Re: global vars within 2-level functions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91186@lists.php.net to get a copy of this message | ||
On Wednesday 03 April 2002 02:11, Erik Price wrote:
> (b) Pass a variable as an argument to a function but make that argument
> optional so that it does not have to exist to make the function
> legitimate.
function function2 ($variable_A="") {
}
It's in manual under "Functions" -- original isn't it? :)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Kids, the seven basic food groups are GUM, PUFF PASTRY, PIZZA,
PESTICIDES, ANTIBIOTICS, NUTRA-SWEET and MILK DUDS!!
*/