Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38286 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63341 invoked from network); 16 Jun 2008 14:26:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2008 14:26:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=chrisstocktonaz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chrisstocktonaz@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.30 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chrisstocktonaz@gmail.com X-Host-Fingerprint: 74.125.46.30 yw-out-2324.google.com Received: from [74.125.46.30] ([74.125.46.30:56571] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/8A-06776-BF776584 for ; Mon, 16 Jun 2008 10:26:04 -0400 Received: by yw-out-2324.google.com with SMTP id 5so2742277ywb.83 for ; Mon, 16 Jun 2008 07:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=v6fYXdMjszFaCPTMeLwDlm7e8iSnobVc7BEkfzYTfdM=; b=gorzfphFk+cy9soE/fUPslqYymZg8gy4UxRhIH2lk5zw48dDmiAdcA+yEM1gLafwFs Dtv7eFSIul3OfP+lNPfwr3aIwOYBk5p402Xx5EkrdSWz8SpLZ9LTOUVQeMfTKO7uTHY6 loVQgxgVhnCPo1e+RjyjD8N5Cc+0DaunKVgJ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=JI4xpFizFiXR1xPiD89zvrgMWER6R3dEcjWJkm7YN66lpqLlV1z4TaNVP8MyeSX6Gi YAOBGKcah2qxgnfwSc3WYDPA9WZUrS1RLMtx14mNe35o2c2csnZcR5ROWx2jc8oqCyYC rKBc7OgsGpIl/vmuHTfCR4siZum63eMyT4IBw= Received: by 10.142.163.13 with SMTP id l13mr2378468wfe.34.1213626360845; Mon, 16 Jun 2008 07:26:00 -0700 (PDT) Received: by 10.142.230.16 with HTTP; Mon, 16 Jun 2008 07:26:00 -0700 (PDT) Message-ID: Date: Mon, 16 Jun 2008 07:26:00 -0700 To: "Arvids Godjuks" Cc: "Andi Gutmans" , "Lars Strojny" , "Markus Fischer" , "PHP Developers Mailing List" In-Reply-To: <9b3df6a50806152320l71581b0dmefe2ccc63766d2e5@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2789_26139741.1213626360841" References: <77972256-ED0C-4FCE-8DEF-8283FE1BBFC5@roshambo.org> <484F0897.4040405@fischer.name> <1213139582.12765.5.camel@localhost> <698DE66518E7CA45812BD18E807866CE01AB3D1D@us-ex1.zend.net> <9b3df6a50806152320l71581b0dmefe2ccc63766d2e5@mail.gmail.com> Subject: Re: [PHP-DEV] deprecation status of $str{42} versus $str[42] From: chrisstocktonaz@gmail.com ("Chris Stockton") ------=_Part_2789_26139741.1213626360841 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, On Sun, Jun 15, 2008 at 11:20 PM, Arvids Godjuks wrote: > String is an array of chars, always was and is such in any programming > language. So I see argument for {} as missing knowledge for some programming > basics. > > And I don't understand why are you arguing on this. This was decided for > removal long ago - so just do it. > Seems like you are missing some PHP programming basics. Strings are not an array of chars, please go back to making ping pong in java c# or whatever other little comp sci classes you took. PHP is not any of them. Foreach("foo" as $key => $char) {}, after learning, please be quiet and let andi answer my question on his ideas he had for improvements to the existing and once favored syntax. -Chris ------=_Part_2789_26139741.1213626360841--