Re: Re: globals in functions
| From: | Philip Olson | Date: | Sun, 14 Apr 2002 21:08:54 +0000 |
| Subject: | Re: Re: globals in functions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92935@lists.php.net to get a copy of this message | ||
> Is there an easier way than having to manually place "global"
> in each function...??
It's not that hard :)
> Other than passing by parameter?
>
> Like is it possible to actually declare var's in PHP
> as global?
No. Consider arrays, constants, extract(), etc.
Regards,
Philip