Re: superglobals inside of function declarations
| From: | Derick Rethans | Date: | Thu, 30 Oct 2003 12:45:48 +0000 |
| Subject: | Re: superglobals inside of function declarations | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5108@lists.php.net to get a copy of this message | ||
On Thu, 30 Oct 2003, Filip de Waard wrote:
> Andy,
>
> I know the current possibilities and limitations, but i'm wondering why
> superglobals can't be used in function declarations. Is there a
> particular reason for this?
Because PHP just only supports scalar constants there.
Derick
--
"Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails."
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------