Re: [PHP] Closure and $this

2011-01-13 Thread Raymond Irving
Many thanks Larry. I like the Closure::bind() method proposal. Best regards __ Raymond Do more with less - http://raxanpdi.com --- On Thu, 1/13/11, Larry Garfield la...@garfieldtech.com wrote: From: Larry Garfield la...@garfieldtech.com Subject: Re: [PHP] Closure and $this To: php-general

Re: [PHP] Closure and $this

2011-01-13 Thread David Harkness
On Wed, Jan 12, 2011 at 10:57 PM, Larry Garfield la...@garfieldtech.comwrote: I believe this is the relevant RFC: http://wiki.php.net/rfc/closures/object-extension That was a good bedtime read last night, Larry. I prefer method A which is nearly identical to Java's inner classes where $this

Re: [PHP] Closure and $this

2011-01-12 Thread Greg Bair
On Wed, 12 Jan 2011 20:02:11 -0800 (PST) Raymond Irving xwis...@yahoo.com wrote: Hello, Does anyone know if closures will ever support the $this keyword?  I think it would be very useful when working with objects. Best regards__RaymondDo more with less - http://raxanpdi.com Probably not,

Re: [PHP] Closure and $this

2011-01-12 Thread Larry Garfield
On Wednesday, January 12, 2011 11:37:19 pm Greg Bair wrote: On Wed, 12 Jan 2011 20:02:11 -0800 (PST) Raymond Irving xwis...@yahoo.com wrote: Hello, Does anyone know if closures will ever support the $this keyword? I think it would be very useful when working with objects. Best