Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46462 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 647 invoked from network); 17 Dec 2009 19:28:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2009 19:28:35 -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.185 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:48222] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/C0-10317-2668A2B4 for ; Thu, 17 Dec 2009 14:28:35 -0500 Received: from us-gw1.zend.com (unknown [192.168.16.5]) by il-mr1.zend.com (Postfix) with ESMTP id 1E6A850514; Thu, 17 Dec 2009 21:14:01 +0200 (IST) Received: from [192.168.16.93] ([192.168.16.93]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 17 Dec 2009 11:28:29 -0800 Message-ID: <4B2A865D.4090606@zend.com> Date: Thu, 17 Dec 2009 11:28:29 -0800 Organization: Zend Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1pre Thunderbird/3.0 MIME-Version: 1.0 To: Tim Starling CC: PHP Developers Mailing List References: <4B2027FF.3050704@wikimedia.org> <4B202EE0.4020007@zend.com> <4B299B97.4040606@wikimedia.org> In-Reply-To: <4B299B97.4040606@wikimedia.org> Content-Type: multipart/mixed; boundary="------------050901000902060802090705" X-OriginalArrivalTime: 17 Dec 2009 19:28:29.0239 (UTC) FILETIME=[1C98A470:01CA7F4F] Subject: Re: [PHP-DEV] PHP 5.3.1 reference parameter regression From: stas@zend.com (Stanislav Malyshev) --------------050901000902060802090705 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi! >>> Test cases can be found here:. It >>> seems to me that a special case would be needed to restore the behaviour >>> seen in PHP 5.3.0. >> >> I'll check it out, seems to be valid use case, we should find some >> solution for that. >> > > There seems to have been no progress on this. Is there anything I can do > to help? Tim, could you check if the attached patch solves your problem? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com --------------050901000902060802090705 Content-Type: text/plain; name="50394.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="50394.diff" SW5kZXg6IHplbmRfZXhlY3V0ZV9BUEkuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIHplbmRfZXhl Y3V0ZV9BUEkuYyAgKHJldmlzaW9uIDI5MTg0OSkNCisrKyB6ZW5kX2V4ZWN1dGVfQVBJLmMg ICh3b3JraW5nIGNvcHkpDQpAQCAtODM4LDYgKzgzOCw3IEBADQogICAgICAgICAgICAgICAg enZhbCAqcGFyYW07DQoNCiAgICAgICAgICAgICAgICBpZiAoRVgoZnVuY3Rpb25fc3RhdGUp LmZ1bmN0aW9uLT50eXBlID09IFpFTkRfSU5URVJOQUxfRlVOQ1RJT04NCisgICAgICAgICAg ICAgICAgICAgICAgICYmIChFWChmdW5jdGlvbl9zdGF0ZSkuZnVuY3Rpb24tPmNvbW1vbi5m bl9mbGFncyAmIFpFTkRfQUNDX0NBTExfVklBX0hBTkRMRVIpID09IDANCiAgICAgICAgICAg ICAgICAgICAgICAgICYmICFBUkdfU0hPVUxEX0JFX1NFTlRfQllfUkVGKEVYKGZ1bmN0aW9u X3N0YXRlKS5mdW5jdGlvbiwgaSArIDEpDQogICAgICAgICAgICAgICAgICAgICAgICAmJiBQ WlZBTF9JU19SRUYoKmZjaS0+cGFyYW1zW2ldKSkgew0KICAgICAgICAgICAgICAgICAgICAg ICAgU0VQQVJBVEVfWlZBTChmY2ktPnBhcmFtc1tpXSk7DQo= --------------050901000902060802090705--