Re: Proposal
| From: | Phil Driscoll | Date: | Sun, 29 Jul 2001 08:08:09 +0000 |
| Subject: | Re: Proposal | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61352@lists.php.net to get a copy of this message | ||
On Sunday 29 July 2001 07:57, Zeev Suraski wrote:
> I'm against a global function like this, but in favour of the 2nd flavour,
> where you have to explicitly pass a list of variable names to import. I
> also think that it should only support prefix globbing, other types of
> globbing are prone to errors, and also slow to implement.
There is an issue that import_globals('GPC') is surely a better option - if
you are of the opinion that this register globals stuff helps :) - than
setting register_globals=on since it only applies to the one script rather
than all scripts, and it may be all that is available as a quick fix for some
of the scripts out there.
Cheers
--
Phil Driscoll