Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48677 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56949 invoked from network); 7 Jun 2010 20:43:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2010 20:43:15 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.153 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.153 smtp153.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.153] ([67.192.241.153:39777] helo=smtp153.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/3E-22982-1E95D0C4 for ; Mon, 07 Jun 2010 16:43:15 -0400 Received: from relay5.relay.dfw.mlsrvr.com (localhost [127.0.0.1]) by relay5.relay.dfw.mlsrvr.com (SMTP Server) with ESMTP id 5220D3F06DF; Mon, 7 Jun 2010 16:43:11 -0400 (EDT) Received: by relay5.relay.dfw.mlsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 23B3D3F065A; Mon, 7 Jun 2010 16:43:11 -0400 (EDT) Message-ID: <4C0D59DE.50106@sugarcrm.com> Date: Mon, 07 Jun 2010 13:43:10 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Felipe Pena , PHP Internals References: <4C0D2DBE.9040305@sugarcrm.com> In-Reply-To: <4C0D2DBE.9040305@sugarcrm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Array Dereferencing From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > This is great. Did you check it on debug version though? I thought for > some reason you'd have to take care of freeing the value (which is > returned by function) after the expression is done, but maybe I missed > something. It's be also nice to see some more assignment tests (also > maybe return-array-by-ref test). I checked it with debug and every case I could think of and it seems to be working just fine, so - commit it to trunk :) -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227