Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20286 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47335 invoked by uid 1010); 24 Nov 2005 08:16:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 47320 invoked from network); 24 Nov 2005 08:16:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2005 08:16:45 -0000 X-Host-Fingerprint: 195.197.172.116 gw02.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.116:33191] helo=gw02.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E4/26-11378-CE675834 for ; Thu, 24 Nov 2005 03:16:44 -0500 Received: from nest.netphobia.fi (YZDCXXXI.dsl.saunalahti.fi [85.76.35.232]) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 078F0D89B7; Thu, 24 Nov 2005 10:16:38 +0200 (EET) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id jAO8Gdj9021730; Thu, 24 Nov 2005 10:16:39 +0200 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id jAO8GdW4021727; Thu, 24 Nov 2005 10:16:39 +0200 X-Authentication-Warning: nest.netphobia.fi: jani owned process doing -bs Date: Thu, 24 Nov 2005 10:16:39 +0200 (EET) Reply-To: Jani Taskinen To: Jakub Vrana cc: internals@lists.php.net In-Reply-To: <478283507.20051124050038@vrana.cz> Message-ID: References: <478283507.20051124050038@vrana.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] Re: PDM Meeting Notes From: sniper@iki.fi (Jani Taskinen) On Thu, 24 Nov 2005, Jakub Vrana wrote: >> 4.5 Cleanup for {} vs. [] > > It was already discussed. Many people would be confused from > documentation statement "[] was marked as deprecated in 4.0.6 - 5.1 > but then suddenly {} was deprecated instead and removed in 6.0" and > many scripts would refuse to work due to this. That's why we wanted to add the E_STRICT warning about it.. But I'd rather have this whole issue changed back to what it really was about: separating [] and {} altogether. We could start with making it an E_ERR..erm..E_STRICT notice if you use {} with arrays or [] with strings. And really separate them in PHP 6. But does it make any sense? Removing {} is ultimately the right thing to do, whatever the anti-purists may think. "{$str{1}}" vs. "{$str[1]}", you decide.. --Jani