Newsgroups: php.internals
Path: news.php.net
Xref: news.php.net php.internals:38334
Return-Path: <stas@zend.com>
Mailing-List: contact internals-help@lists.php.net; run by ezmlm
Delivered-To: mailing list internals@lists.php.net
Received: (qmail 39045 invoked from network); 17 Jun 2008 20:13:38 -0000
Received: from unknown (HELO lists.php.net) (127.0.0.1)
  by localhost with SMTP; 17 Jun 2008 20:13:38 -0000
Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass
Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass
Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender)
X-PHP-List-Original-Sender: stas@zend.com
X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1
Received: from [212.25.124.162] ([212.25.124.162:25684] helo=mx1.zend.com)
	by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP
	id 26/09-24906-FEA18584 for <internals@lists.php.net>; Tue, 17 Jun 2008 16:13:37 -0400
Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959);
	 Tue, 17 Jun 2008 23:13:41 +0300
Received: from [192.168.17.83] ([192.168.17.83]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959);
	 Tue, 17 Jun 2008 13:12:59 -0700
Message-ID: <48581AC1.6010804@zend.com>
Date: Tue, 17 Jun 2008 13:12:49 -0700
Organization: Zend Technologies
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: Marcus Boerger <helly@php.net>
CC: Christian Seiler <chris_se@gmx.net>, 
 Johannes Schlueter <johannes@schlueters.de>,
 php-dev List <internals@lists.php.net>
References: <4856A547.3080801@gmx.net> <1961603263.20080617120320@marcus-boerger.de> <4857ACE1.3050501@gmx.net> <1178748433.20080617211038@marcus-boerger.de> <48580E5C.9090100@zend.com> <1164326521.20080617215115@marcus-boerger.de>
In-Reply-To: <1164326521.20080617215115@marcus-boerger.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 17 Jun 2008 20:12:59.0717 (UTC) FILETIME=[89F43F50:01C8D0B6]
Subject: Re: [PHP-DEV] [PATCH] [RFC] Closures and lambda functions in PHP
From: stas@zend.com (Stanislav Malyshev)

Hi!

>   nicely put but not in agreement with the PHP world. First we cannot add
> a new feature like this in a mini release as it comes with an API change.
> And second PHP is not anywhere close so we'd have to do it in a PHP 5.4
> and personally I would like to avoid it.

You meant "PHP 6 not anywhere close"? well, if we keep adding completely 
new stuff to 5.3 then 5.3 would not be anywhere close so what we earn by 
that? I understand that we all want new and cool stuff in PHP, but 
endlessly delaying 5.3 is not the answer.
And this feature is a big thing, it's not adding yet another module or 
function - it should be thoroughly reviewed and seen how it affect all 
other things. It's probably very cool addition, but yet more reason to 
consider all the side effects and surprises on the way.
Pushing it in now would mean we'd either have to delay 5.3 yet another 
half-year or we'd release buggy 5.3 and then we'd be bound by API 
compatibility and couldn't fix things that we might want to fix. I think 
as much as we want to add yet another cool feature - we have to release 
versions for the users to actually be able to enjoy features we already 
added, from time to time. And time for 5.3 is very much due, and we 
still have a bunch of work to do on it.
-- 
Stanislav Malyshev, Zend Software Architect
stas@zend.com   http://www.zend.com/
(408)253-8829   MSN: stas@zend.com