Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44724 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22348 invoked from network); 6 Jul 2009 16:18:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2009 16:18:34 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.222.198 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.222.198 mail-pz0-f198.google.com Received: from [209.85.222.198] ([209.85.222.198:35463] helo=mail-pz0-f198.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/2F-51746-9D3225A4 for ; Mon, 06 Jul 2009 12:18:34 -0400 Received: by pzk36 with SMTP id 36so4319837pzk.29 for ; Mon, 06 Jul 2009 09:18:30 -0700 (PDT) Received: by 10.141.26.8 with SMTP id d8mr2645806rvj.37.1246897110763; Mon, 06 Jul 2009 09:18:30 -0700 (PDT) Received: from ?192.168.1.2? (c-76-22-32-17.hsd1.wa.comcast.net [76.22.32.17]) by mx.google.com with ESMTPS id f21sm74070rvb.36.2009.07.06.09.18.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Jul 2009 09:18:29 -0700 (PDT) Cc: internals@lists.php.net Message-ID: <3D5C351F-984E-421C-8714-D2B148A976E8@roshambo.org> To: Christian Schneider In-Reply-To: <4A521FB8.8030202@cschneid.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Mon, 6 Jul 2009 09:18:27 -0700 References: <4A521FB8.8030202@cschneid.com> X-Mailer: Apple Mail (2.935.3) Subject: Re: [PHP-DEV] PHP 5.3: Is the use of {} to access string offsets deprecated? From: philip@roshambo.org (Philip Olson) On Jul 6, 2009, at 9:00 AM, Christian Schneider wrote: > The migration guide states that "The use of {} to access string > offsets > is deprecated. Use [] instead." but the code in zend_compile.c is > commented out with #ifdef ilia_0. > > What's the take on this? Will it be deprecated later or should that > part > be removed from the migration document? It's been awhile but I once researched this, spoke with humans, and determined this syntax is deprecated as of PHP 6 and documented[1] it as such. However, that was almost three years ago so maybe the times have changed. Regards, Philip [1] http://php.net/manual/en/language.types.string.php#language.types.string.substr