Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77788 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67042 invoked from network); 6 Oct 2014 01:55:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Oct 2014 01:55:53 -0000 Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.43 as permitted sender) X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.220.43 mail-pa0-f43.google.com Received: from [209.85.220.43] ([209.85.220.43:34756] helo=mail-pa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/00-01492-6A6F1345 for ; Sun, 05 Oct 2014 21:55:51 -0400 Received: by mail-pa0-f43.google.com with SMTP id lf10so4454469pab.16 for ; Sun, 05 Oct 2014 18:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZX3GcXLmLRhohLduZqfKzRPUdYZGLshwPGAoGDsU5V8=; b=0s79XzvyMa3P4Yz/QzvD9lhEh6l2q+8PVEAqL3zX9nU4AJi/VLyzUGBWBDQdcpDMuA lyyFzTiFjx0rE1eM1RUcCrNXW6y9yC3kI8kVnCJ9JB6HXapnhXHVJPF6CmuqQpxEYIRC rMUn3sPqBvCAEm1YEkRptA61AzTVO7qflYWkYHk1PkoqkRsGGW3RKkSNih6PC8Yql4ip lRviMDwbE6cPWeXE6JI2grj/VGCudw5H5eQ+AN2NEpwHkZaJgcgZWvkOUi0UjHDYFG7X gmr4NAV7b3Otd6B/wNS+JmvgGjISWDpEuVceVspmHeLbY/N4t2CPVpEghaW7iZ1i00/N ey4w== X-Received: by 10.70.103.7 with SMTP id fs7mr15465861pdb.52.1412560547702; Sun, 05 Oct 2014 18:55:47 -0700 (PDT) Received: from [192.168.1.102] (bb121-7-198-24.singnet.com.sg. [121.7.198.24]) by mx.google.com with ESMTPSA id fk10sm11994152pab.29.2014.10.05.18.55.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 05 Oct 2014 18:55:46 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: <542EFB52.70606@hoa-project.net> Date: Mon, 6 Oct 2014 09:55:42 +0800 Cc: PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <7FC578C5-B2E2-4EDC-B8D5-CA2840D13E11@gmail.com> References: <542EFB52.70606@hoa-project.net> To: ivan.enderlin@hoa-project.net X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] Regression in RecursiveRegexIterator From: tjerk.meesters@gmail.com (Tjerk Meesters) Hi! On 4 Oct 2014, at 03:38, Ivan Enderlin @ Hoa = wrote: > Hello :-), >=20 > Does anyone know something about this bug: = https://bugs.php.net/bug.php?id=3D68128 ? Yeah, I=92ve addressed it with a PR: = https://github.com/php/php-src/pull/865 Basically, this behaviour was introduced with = d81ea16ef14735b97f22702ca1a78c3674fd987e; zend_make_printable_zval () = was changed to raise a warning whenever an array is passed as an = argument. My suggestion is to ::accept() non-empty arrays instead of attempting to = convert them into a string. I *think* that=92s a reasonable change :) >=20 > Thanks! >=20 > --=20 > Ivan Enderlin > Developer of Hoa > http://hoa-project.net/ >=20 > PhD. at DISC/Femto-ST (Vesontio) and INRIA (Cassis) > http://disc.univ-fcomte.fr/ and http://www.inria.fr/ >=20 > Member of HTML and WebApps Working Group of W3C > http://w3.org/ >=20 >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20