RE: [PHP-DEV] PATCH: anonymous functions in PHP
| From: | Robert Cummings | Date: | Wed, 21 Mar 2007 00:24:13 +0000 |
| Subject: | RE: [PHP-DEV] PATCH: anonymous functions in PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28507@lists.php.net to get a copy of this message | ||
On Tue, 2007-03-20 at 19:02 -0500, Richard Lynch wrote:
>
> Though that will probably end up with a bunch of scripters using
> out-of-scope vars with no clue what they just did and how morally
> wrong it was to use an intentionally undocumented feature.
Without the right tool, the data needs will be punted to $GLOBALS.
Please tell me you're not advocating $GLOBALS in favour of a clean and
concise closure :)
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'