Re: [PHP-DEV] PATCH: anonymous functions in PHP

2007-03-23 Thread Jim Wilson
Sorry buddy - thought I was replying to the whole group :( -- Jim On 3/23/07, Jim Wilson <[EMAIL PROTECTED]> wrote: > Lexical anonymous functions would be enough for me. If these proposed > lexical anonymous functions could automagically bind themselves > to an instance'

Re: [PHP-DEV] PATCH: anonymous functions in PHP

2007-03-23 Thread Jim Wilson
Lexical anonymous functions would be enough for me. If these proposed lexical anonymous functions could automagically bind themselves to an instance's $this when called from within an object's scope (so as to act as virtual methods), that would be grand. I agree - I don't need closures, but an

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-03-18 Thread Jim Wilson
> So, the question is, do we want this in PHP? yes, please. Anonymous function declaration is one of the things I've always loved in Ruby and JavaScript - I for one would _love to see this_ in php. -- Jim R. Wilson (jimbojw) On 3/18/07, Wez Furlong <[EMAIL PROTECTED]> wrote: I found another

[PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_2) / run-tests.php

2007-02-09 Thread Jim Wilson
t that this kind of information should go to a more 'official' place. Regards Francois > -Original Message- > From: Jim Wilson [mailto:[EMAIL PROTECTED] > Sent: Friday, February 09, 2007 6:52 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] RE : [PHP-D

Re: [PHP-DEV] RE : [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_2) / run-tests.php

2007-02-09 Thread Jim Wilson
On that note - is there a formal process in place for deciding what gets moved from PCEL to 'Optional Extension' and vice-versa? Who has final say in the matter? -- Jim On 2/9/07, LAUPRETRE François (P) <[EMAIL PROTECTED]> wrote: > From: Derick Rethans [mailto:[EMAIL PROTECTED] > > On Thu, 8

[PHP-DEV] Reflection API Injection Mechanism

2007-02-09 Thread Jim Wilson
Dear PHP Internals subscribers, I have two quick questions regarding PHP 5's Reflection API (I apologize if this isn't the right list to ask): 1) Is there a way to inject a method into a Class such that future instantiations of that Class will have the method? For example: Before