Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89085 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53604 invoked from network); 5 Nov 2015 16:38:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2015 16:38:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=bishop.bettini@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bishop.bettini@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.173 as permitted sender) X-PHP-List-Original-Sender: bishop.bettini@gmail.com X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:37943] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/74-24765-7168B365 for ; Thu, 05 Nov 2015 11:38:47 -0500 Received: by wicll6 with SMTP id ll6so13250513wic.1 for ; Thu, 05 Nov 2015 08:38:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=stVNiYvtNNy+PcXTXZLjPdd9WIlY1KNhQ/Jm1Q4spNQ=; b=RZHDmpWZNDbuQyleIUMRSMyt3XQ6f4f9le7p8w0XfY/0eHwDEtnexukgzwRccbaXRE 0qkhxgWJMAXQpX42lab5/nXSeTthfxifXcoyc2t02+IbZ9T63ftDuX08nW/qkqJ6Z/8D 2cCYXPZI3pSYxdvxPXY1dEQg0N+dz8873l3PXpjuXx0/oZq6eJLOGH81dWKqwwcf9NcE MkvSnmj1I909fZRu7VsGy3yEbKfWe2+uKDojbwcA99Bg/JVmXHQiZ4g73oiT/1X4zRzA AlK7f3YTkBp5dMnWOpKj1piBZObnwVEax7mTCthjdcm60SO3EIDsqZJuQumLbo/ib7D+ sBEg== MIME-Version: 1.0 X-Received: by 10.194.250.3 with SMTP id yy3mr11262638wjc.92.1446741524681; Thu, 05 Nov 2015 08:38:44 -0800 (PST) Reply-To: bishop@php.net Sender: bishop.bettini@gmail.com Received: by 10.194.42.228 with HTTP; Thu, 5 Nov 2015 08:38:44 -0800 (PST) In-Reply-To: References: <3187501.to7rK1FKUl@mcmic-probook> <58.47.13519.54409365@pb1.pair.com> <2499781.S8xp2TXu1I@mcmic-probook> <563B5903.3000807@heigl.org> Date: Thu, 5 Nov 2015 11:38:44 -0500 X-Google-Sender-Auth: bLN8SM8U0AcDlPQwBdtH-_OJ4vg Message-ID: To: Ferenc Kovacs Cc: Andreas Heigl , =?UTF-8?Q?C=C3=B4me_Chilliet?= , PHP Internals Content-Type: multipart/alternative; boundary=001a11c27d20a91bdd0523cdc2ca Subject: Re: [PHP-DEV] Re: Small regression in PHP-LDAP From: bishop@php.net (Bishop Bettini) --001a11c27d20a91bdd0523cdc2ca Content-Type: text/plain; charset=UTF-8 On Thu, Nov 5, 2015 at 8:56 AM, Ferenc Kovacs wrote: > On Thu, Nov 5, 2015 at 2:26 PM, Andreas Heigl wrote: > > > Am 05.11.15 um 14:14 schrieb Ferenc Kovacs: > > [...] > > > I would keep the old behavior for 5.6, even if that was unintended > nobody > > > complained about it(so removing it isn't a bugfix per se), so I see no > > > reason to break userland code working before in a micro version. > > > for PHP-7.0 we can remove the old undocumented behavior but drop a > > mention > > > in NEWS/upgrading. > > > > > As it's already broken in the last 3 micro-versions I'm not sure whether > > it makes things more complicated to "re-enable" it or not. > > > > Personally I'd say leave it as it is now (and try to prohibit such > > things in future). > > > 5.6 is not even halfway until EOL, so I think that argument of keeping the > BC break because there are already 3 micro versions affected it is a bit > weak: > http://php.net/supported-versions.php Some are vendor-pinned and can't get the upgrade, so they have to fix their code anyway. Those who can upgrade would have to fix their code by 7.0, and IMO it seems better to fix it now while its on their mind. We're talking about a very small surface area of affected code, one that is easily changed with a sed. The damage of "breaking the behavior" is already done. Fixing user code or upgrading the engine is the only resolution. To me, fixing user code is the best solution: it's long term necessary, it's short term easy. If this were breaking documented code (as happened with array_unique in 5.2.9), then I'd say fix the engine. But it's not, it's breaking undocumented side-effected user code. That to me sounds like a user code fix. --001a11c27d20a91bdd0523cdc2ca--