Re: PHP 4.0 Bug #8194: Need for a "const" qualifier.
| From: | Ignacio Vazquez-Abrams | Date: | Mon, 11 Dec 2000 18:52:40 +0000 |
| Subject: | Re: PHP 4.0 Bug #8194: Need for a "const" qualifier. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40884@lists.php.net to get a copy of this message | ||
On 11 Dec 2000 php@digdug.cx wrote:
> From: php@digdug.cx
> Operating system:
> PHP version: 4.0.3pl1
> PHP Bug Type: Feature/Change Request
> Bug description: Need for a "const" qualifier.
>
> It would be really swell to have a qualifier that makes a variable visible in functions by
> default. Right now, it is a real annoyance to have to global every constant that you use in the
> function.
>
Does define() work for you?
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>