Re: Re: PATCH: anonymous functions in PHP

From: Date: Thu, 20 Dec 2007 20:09:01 +0000
Subject: Re: Re: PATCH: anonymous functions in PHP
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-34177@lists.php.net to get a copy of this message
Right, PHP is not Javascript. But, PHP has been used alongside Javascript more and more lately (consider AJAX and all that good stuff), so folks who program in both would be helped by having a construct that is both clean, readable, and similar between languages. -Andrei Stanislav Malyshev wrote:
That makes perfect sense to me as I see/use this sort of code in JavaScript.
Well, PHP is not Javascript - and BTW Javascript is a complex language and I don't think we should import that complexity into PHP.


« previous php.internals (#34177) next »