Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91242 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17480 invoked from network); 17 Feb 2016 04:36:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2016 04:36:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-yk0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:35861] helo=mail-yk0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/34-17120-5B8F3C65 for ; Tue, 16 Feb 2016 23:36:06 -0500 Received: by mail-yk0-f170.google.com with SMTP id z7so2248369yka.3 for ; Tue, 16 Feb 2016 20:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=cMxzBEbLZWkXtJ6rtLmddgLBcC326oj9f49KWOxKYe4=; b=VvIrfCu1PsP3tXewqtHmMmACY9QCI8FP7zwDwd2zXf8WivP/Z3BkCY7olrtvLl5I7Z l8Fii6aC/iBFN2zxXNVH/xf2kAB56omFxjL9HrVgkk07TFl1K7IBD2dpLUloJzl4RovB seDgiugRcx74qYXNs5wlasZKYvWf4fIY1cDMibcawA1VTm2h+GxPcEIHBM+XJeMzPY/E U6DqzyV9HxmjG6bXCJ2AB8DdM2dSnw81pzGvn8u42+ML1mMO24qQ9GYxiiLf43HPpJnD Y6ecl+NPQm5vNDsUll4QnGnpsYw2ZtC2ofvJGDz5bB+p7k6Jq9V40FIgzBgesqkxTOjD 9cTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=cMxzBEbLZWkXtJ6rtLmddgLBcC326oj9f49KWOxKYe4=; b=lDTJNCeV+k7qZ7Eaao0ejAlxNvk39KluYQalrvH9F4mAmLuzDwyNGPuz2PeEKxDb+f ryirD5y7v0qMDlXIIey4h/bBM30izO1VESECHGoFc1/3Bi8jjTOwcD43fCFA4cYKpKxc eYeAJTNVZ70ab43WsyqLou4MqJpNVkdhKMCpUIGWXbRnksT572kzaasHMwptEgws8pu1 v/zwuXfbB0Q09vZ+GnCgwXj8e6evtQ82eidgwifS9g3WvniSRk8elnn7WOL5oWCItYZr T2qKJeO5aaiMyNpLkrfOKS4ibp9mSs/D+ewvRo1B829qHIGsRMQDjgqpPItTAhJevYyb GS4g== X-Gm-Message-State: AG10YORrMyPdwlAcaF7V1/ABfiAiI+1KJv3eVD4r8F3UfkZD6nNJ6BKI9LviXp96Z94+x6+Is2moIVCtQEMzMw== X-Received: by 10.37.231.1 with SMTP id e1mr13090606ybh.130.1455683762926; Tue, 16 Feb 2016 20:36:02 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.129.109.22 with HTTP; Tue, 16 Feb 2016 20:35:23 -0800 (PST) In-Reply-To: <56C3BFA4.5070107@php.net> References: <56A3A01F.1020500@php.net> <56C3BFA4.5070107@php.net> Date: Wed, 17 Feb 2016 13:35:23 +0900 X-Google-Sender-Auth: cWckKwBbnEtOVJHb_ZDLOKJj5m0 Message-ID: To: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= Cc: Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Generalize support of negative string offsets From: yohgaki@ohgaki.net (Yasuo Ohgaki) On Wed, Feb 17, 2016 at 9:32 AM, Fran=C3=A7ois Laupretre = wrote: > > Le 17/02/2016 00:26, Yasuo Ohgaki a =C3=A9crit : >> >> I noticed one issue on {} >> https://bugs.php.net/bug.php?id=3D71611 >> >> echo "${str{1}}"; >> >> raises syntax error while >> >> echo "{$str{1}}"; >> >> works. Is this addressed? > > > No, this is a different problem. This RFC just adds support for negative > index values. It does not deal with variable dereferencing using ${}/{$}. Thank you. I filed new bug report for this. https://bugs.php.net/bug.php?id=3D71614 Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net