Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38326 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74662 invoked from network); 17 Jun 2008 16:43:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jun 2008 16:43:36 -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 64.233.166.181 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: 64.233.166.181 py-out-1112.google.com Received: from [64.233.166.181] ([64.233.166.181:39916] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 53/44-61252-7B9E7584 for ; Tue, 17 Jun 2008 12:43:35 -0400 Received: by py-out-1112.google.com with SMTP id a25so1819489pyi.16 for ; Tue, 17 Jun 2008 09:43:33 -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=CpVTsPpxCBwvLfVh9Rd1P7QTgPsLBjRPoz8gJtG/M70=; b=wrddWvYGMaF/J1OeRK2VypYa/KVuigjh6vvXo6diCh7dzBa/3ZH2EbKJBUK5K8tTa6 jRpoh0uq4qwITGMIxnItmmVPMmGzseAeDEqyiSzL8cS8r1060N5TF2h2AabW7O3Zpz0X qnrFNqnJ1BjE0eZ/4DfDIC+/kKujwDF9RdQLo= 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=Ad+Rw67eDDnM/zHRaCg1uqH1SLukxEMNB/C45IiYriZW43fUIZxmvjZ/sTJPxMnRe3 B/91wnQshvP8KF2JQ0Kqof3TKp1uWKF5/frsJiCnr7hoX6WLzsosQBR7kO/dRDZJooDQ +J79Unust9N9YLdRrw26bwrNVoYHTjtcDG1RA= Received: by 10.142.180.19 with SMTP id c19mr3076719wff.273.1213721013045; Tue, 17 Jun 2008 09:43:33 -0700 (PDT) Received: by 10.142.230.16 with HTTP; Tue, 17 Jun 2008 09:43:32 -0700 (PDT) Message-ID: Date: Tue, 17 Jun 2008 09:43:32 -0700 To: "Steph Fox" Cc: "Arvids Godjuks" , "PHP Developers Mailing List" In-Reply-To: <00cb01c8d05b$93244c10$4401a8c0@foxbox> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9629_13661199.1213721013046" 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> <00cb01c8d05b$93244c10$4401a8c0@foxbox> Subject: Re: [PHP-DEV] deprecation status of $str{42} versus $str[42] From: chrisstocktonaz@gmail.com ("Chris Stockton") ------=_Part_9629_13661199.1213721013046 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, Jun 17, 2008 at 2:21 AM, Steph Fox wrote: > > Hi, > > 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. >> > > Please, keep this kind of personal abuse off the core development list. It > adds absolutely nothing to the debate, and we're all very, very bored with > it I was trying to have a productive discussion on the topic, his response is the one that added no value, was nothing but a troll. Anyways, I like the fact my response brought up iterating strings, which I think as far as code points or bytes etc, go, really its the same problem as $str{0} on a Unicode string, im sure PHP6 will fix this with Unicode strings. Still, I wish this was not being removed I have a lot of legacy code around that uses it and am sure many companies do as well, and it has always felt more correct _to_me_ but it is what it is. Case closed I guess. -Chris ------=_Part_9629_13661199.1213721013046--