Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4827 invoked from network); 2 Mar 2015 12:46:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2015 12:46:36 -0000 Authentication-Results: pb1.pair.com header.from=patrickallaert@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 74.125.82.45 mail-wg0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:35176] helo=mail-wg0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/C6-48321-9AB54F45 for ; Mon, 02 Mar 2015 07:46:35 -0500 Received: by wggz12 with SMTP id z12so33239588wgg.2 for ; Mon, 02 Mar 2015 04:46:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:references:from:date:message-id:subject:to:cc :content-type; bh=52zLAEJq1QrfLJSfxuJzki9lNukM2xyUtUIyewfDVMM=; b=ffUzzxvf8OHNvNJ7ci6YjVOfqQRkJiBGhNxzOmNUx2ZPTGvoHhvYCPFDqnVKWru0Ob Nu9LeINkdpD7BW1eK8siJBwCooIjN8XE2lhxv3xE9nzCb0lZsjKjxCN/GlNVXvd7hjns mSsmps5PI7xSv8bDdQJZgAH00DTS3Ko+ZMSnPee2qJ6VTrqStnjqwlWMaHDccmmrRxrk yS0Tk2mqo0+AdD70JMsXwP86mSw8kyq+kHWOO1hLmQ6nMWdE7ROqNOomGXB0QXyashct LouSZwpgw7kVC3JdKLw3nBtZ6S1yrpnaeWk0+O6XQFXEyOAw6mJ2zxCvBtyA2tX6KqQo /0rA== X-Received: by 10.194.210.103 with SMTP id mt7mr59250559wjc.103.1425300390182; Mon, 02 Mar 2015 04:46:30 -0800 (PST) MIME-Version: 1.0 References: Date: Mon, 02 Mar 2015 12:46:29 +0000 Message-ID: To: Xinchen Hui , francois@php.net Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a11336254748ae805104d9bb5 Subject: Re: [PHP-DEV] [RFC][VOTE] Improve array to string conversion From: patrickallaert@php.net (Patrick ALLAERT) --001a11336254748ae805104d9bb5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le lun. 2 mars 2015 =C3=A0 13:39, Patrick ALLAERT = a =C3=A9crit : > Le mer. 25 f=C3=A9vr. 2015 =C3=A0 12:16, Xinchen Hui a= =C3=A9crit : > > Hey: >> >> On Tue, Feb 24, 2015 at 12:06 AM, Fran=C3=A7ois Laupretre >> wrote: >> > Hi, >> > >> > Starting the vote for https://wiki.php.net/rfc/array-to-string. >> > >> > Please note that, while the initial RFC proposed both options of eithe= r >> > fully supporting the feature, or disabling it, the voting choices are >> now : >> > >> > - either definitely disabling array to string conversion, >> > - or keep current behavior as-is. >> > >> > Vote ends March 6, 00:00 (UTC). >> replace E_NOTICE with E_RECOVERABLE_ERROR?? >> >> it's a huge BC break..... >> >> I vote -1 on this. >> >> thanks >> > >> > Regards >> > >> > Fran=C3=A7ois >> > >> > >> > -- >> > PHP Internals - PHP Runtime Development Mailing List >> > To unsubscribe, visit: http://www.php.net/unsub.php >> >> >> >> -- >> Xinchen Hui >> @Laruence >> http://www.laruence.com/ >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php > > > Hello, > > I'm explaining here the reasons of my "-1" vote. > > 1) You suggest (in your PR) changing the conversion > in _convert_to_string() but not in zend_make_printable_zval(). That makes > it completely inconsistent. > Forgot to mention that if you correct this important inconsistency you won't have 32 broken tests but hundreds. Thanks, Patrick --001a11336254748ae805104d9bb5--