Re: [PHP-DEV] [RFC] Anonymous functions

2008-03-24 Thread Marcus Boerger
Hello Alexey, my last update on this was that people were unhappy with closures. If that is not the case than maybe we need to write this as an RFC on the wiki: http://wiki.php.net/rfc So well maybe you're right and it only requires selecting between the two and checking whether there are tiny

Re: [PHP-DEV] [RFC] Anonymous functions

2008-03-24 Thread Alexey Zakhlestin
On 3/23/08, Marcus Boerger <[EMAIL PROTECTED]> wrote: > Hello Ryusuke, > > I have put your proposal as a link to a PHP GSoC 2008 idea here: > http://wiki.php.net/gsoc/2008 > > Feel invited to add to this idea in whatever way you want :-) how is it related to gsoc? patches are already there — a

Re: [PHP-DEV] [RFC] Anonymous functions

2008-03-23 Thread Marcus Boerger
Hello Ryusuke, I have put your proposal as a link to a PHP GSoC 2008 idea here: http://wiki.php.net/gsoc/2008 Feel invited to add to this idea in whatever way you want :-) marcus Saturday, February 23, 2008, 7:46:34 PM, you wrote: > 2008/2/24, Andrei Zmievski <[EMAIL PROTECTED]>: >> Do we hav

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-25 Thread Marcus Boerger
always unique behaviors of our language and environment which require a > fresh view at things. > Andi >> -Original Message- >> From: Andrei Zmievski [mailto:[EMAIL PROTECTED] >> Sent: Friday, February 22, 2008 10:00 AM >> To: Matvey Arye >> Cc: KOYAMA Tets

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-25 Thread Andrei Zmievski
Whichever one the newly developed features are going into these days. Seems to be 5.3 or 5.4. -Andrei On Feb 24, 2008, at 4:03 PM, Stanislav Malyshev wrote: Hi! To be clear, my statement was about the closures and not sexier anonymous functions. I agree that we need to do an RFC on this

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-24 Thread Stanislav Malyshev
Hi! To be clear, my statement was about the closures and not sexier anonymous functions. I agree that we need to do an RFC on this matter. I'm curious - for which PHP version all these things are targeted? -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-24 Thread Andrei Zmievski
To be clear, my statement was about the closures and not sexier anonymous functions. I agree that we need to do an RFC on this matter. -Andrei On Feb 23, 2008, at 8:36 PM, Andi Gutmans wrote: I think we have to be very clear whether we are going to provide just a sexier notation for anonym

RE: [PHP-DEV] [RFC] Anonymous functions

2008-02-23 Thread Andi Gutmans
iew at things. Andi > -Original Message- > From: Andrei Zmievski [mailto:[EMAIL PROTECTED] > Sent: Friday, February 22, 2008 10:00 AM > To: Matvey Arye > Cc: KOYAMA Tetsuji; internals@lists.php.net > Subject: Re: [PHP-DEV] [RFC] Anonymous functions > > Yes, let's re-o

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-23 Thread Ryusuke SEKIYAMA
2008/2/24, Andrei Zmievski <[EMAIL PROTECTED]>: > Do we have a working patch somewhere then? Hi, I have added support for closures to my patches. http://www.opendogs.org/pub/php-5.3-080223-anon.patch http://www.opendogs.org/pub/php-6.0-080223-anon.patch http://www.opendogs.org/pub/php-anon-tests-

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-23 Thread Tobias Tom
Am 23.02.2008 um 17:13 schrieb Pierre Joye: On Sat, Feb 23, 2008 at 5:09 PM, Andrei Zmievski <[EMAIL PROTECTED] > wrote: Do we have a working patch somewhere then? Did we not get one from Wez? and an alternative from remember> :) http://news.php.net/php.internals/34216 I think the last ver

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-23 Thread Pierre Joye
On Sat, Feb 23, 2008 at 5:09 PM, Andrei Zmievski <[EMAIL PROTECTED]> wrote: > Do we have a working patch somewhere then? Did we not get one from Wez? and an alternative from :) -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To u

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-23 Thread Andrei Zmievski
Do we have a working patch somewhere then? -Andrei On Feb 23, 2008, at 12:43 PM, Marcus Boerger wrote: Hello Andrei, +1 Friday, February 22, 2008, 7:00:11 PM, you wrote: Yes, let's re-open, I'd like to get a closure on that issue (pun intended). -Andrei -- PHP Internals - PHP Runt

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-23 Thread Lars Strojny
Hi Andrei, Am Freitag, den 22.02.2008, 10:00 -0800 schrieb Andrei Zmievski: > Yes, let's re-open, I'd like to get a closure on that issue (pun > intended). +1. I would love it. cu, Lars -- Lars Strojny Senior Software Developer Media Ventures GmbH (http://mediaventures.de) signature.asc De

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-23 Thread David Zülke
And +1 from me :) David Am 23.02.2008 um 12:43 schrieb Marcus Boerger: Hello Andrei, +1 Friday, February 22, 2008, 7:00:11 PM, you wrote: Yes, let's re-open, I'd like to get a closure on that issue (pun intended). -Andrei On Feb 18, 2008, at 8:26 AM, Matvey Arye wrote: Hi All,

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-23 Thread Marcus Boerger
Hello Andrei, +1 Friday, February 22, 2008, 7:00:11 PM, you wrote: > Yes, let's re-open, I'd like to get a closure on that issue (pun > intended). > -Andrei > On Feb 18, 2008, at 8:26 AM, Matvey Arye wrote: >> Hi All, >> >> I second this. Can we please re-open the discussion on anonymous

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-23 Thread Andrei Zmievski
Yes, let's re-open, I'd like to get a closure on that issue (pun intended). -Andrei On Feb 18, 2008, at 8:26 AM, Matvey Arye wrote: Hi All, I second this. Can we please re-open the discussion on anonymous functions as well as closures. That would be an awesome feature. create_function i

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-18 Thread Matvey Arye
Hi All, I second this. Can we please re-open the discussion on anonymous functions as well as closures. That would be an awesome feature. create_function is a bit ugly semantically to be sufficient for all anonymous function needs. Thanks, Mat KOYAMA Tetsuji wrote: Hi lists, Is this discu

Re: [PHP-DEV] [RFC] Anonymous functions

2008-01-29 Thread KOYAMA Tetsuji
Hi lists, Is this discussion stopping? I want this feature in PHP. Please start to talk. On Jan 10, 2008 7:09 PM, Ryusuke SEKIYAMA <[EMAIL PROTECTED]> wrote: > Hello, lists, > > We have discussed about implementing anonymous functions and > closures in PHP. > However, I consider that implementin

Re: [PHP-DEV] [RFC] Anonymous functions

2008-01-10 Thread Richard Quadling
On 10/01/2008, Marcus Boerger <[EMAIL PROTECTED]> wrote: > Hello Ryusuke, > > +1, looks pretty nice, makes my life easier in some cases and is closer to > other languages like pythin so i can transfer concepts easily which is a > big plus for me. > > marcus > > Thursday, January 10, 2008, 11:

Re: [PHP-DEV] [RFC] Anonymous functions

2008-01-10 Thread Marcus Boerger
Hello Ryusuke, +1, looks pretty nice, makes my life easier in some cases and is closer to other languages like pythin so i can transfer concepts easily which is a big plus for me. marcus Thursday, January 10, 2008, 11:09:26 AM, you wrote: > Hello, lists, > We have discussed about impleme

[PHP-DEV] [RFC] Anonymous functions

2008-01-10 Thread Ryusuke SEKIYAMA
Hello, lists, We have discussed about implementing anonymous functions and closures in PHP. However, I consider that implementing anonymous functions and implementing lexical scopes should be discussed separately. # Even though I like closure. ;-) So I wrote anonymous function patch for PHP 5.3 an