Re: Extending 'include' behavior in a function
| From: | Roman Neuhauser | Date: | Thu, 11 Jan 2007 11:24:38 +0000 |
| Subject: | Re: Extending 'include' behavior in a function | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246899@lists.php.net to get a copy of this message | ||
# jochem@iamjochem.com / 2007-01-11 09:47:04 +0100:
> Eli wrote:
> > [extending include]
> >
> > Your solution is good when you know what variables you want to transfer
> > ahead, and then make a list of them. But if I want to transfer all the
> > variables in the current environment scope?
> as it stands I get the feeling your on the road to nowhere regarding
> this particular idea, php just doesn't offer the functionality you
> require.
Besides being technically infeasible, it wouldn't even be very useful
AFAICS (put bluntly: smells like a hackaround for a very bad design).
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991