Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38311 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47101 invoked from network); 17 Jun 2008 06:27:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jun 2008 06:27:42 -0000 Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.90.179 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 66.249.90.179 ik-out-1112.google.com Received: from [66.249.90.179] ([66.249.90.179:53529] helo=ik-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/59-18128-C5957584 for ; Tue, 17 Jun 2008 02:27:41 -0400 Received: by ik-out-1112.google.com with SMTP id c29so4674492ika.7 for ; Mon, 16 Jun 2008 23:27:38 -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=pWhcW7B98yWyTi4uCNnK+rAO3MIPCjOs7ZyVI2fHwo0=; b=UUxqBzLax90KthYYEL8ET2Wg3aWZsl7MZu6FgMD4JIO2kIXuM6Nvs4yUqwuxCfvSu/ VxIY6eKuPtUxWj4czNv4V/XOqRgLftADohXGiMKLjoEOB28CtRsg8JYdeAQvJFZO83xF uq3cHIX3T5N6vP7GD4SlQ0u5fCpx3TqnrCGY4= 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=dadng/eEummsHQzi5/JMBrCRULyXzHXTz9S28MlXyTOkCj4/itlZ+OyB53xtsDL4nl K8Nw6SFVHW3buFGol4Ug1W9wbYstcburtjXqM2Lam8zBRXJE2n1IC/AcRnqFcHXSK6NP ZbTkN6g0zNG/0q09rQ5DNjS8dnkBtZOXgSHO8= Received: by 10.210.71.13 with SMTP id t13mr7196141eba.130.1213684058195; Mon, 16 Jun 2008 23:27:38 -0700 (PDT) Received: by 10.66.223.2 with HTTP; Mon, 16 Jun 2008 23:27:37 -0700 (PDT) Message-ID: <9b3df6a50806162327r52ae3ad9g65d56c0916571185@mail.gmail.com> Date: Tue, 17 Jun 2008 09:27:37 +0300 To: "Edward Z. Yang" Cc: internals@lists.php.net In-Reply-To: <28.6B.06776.09A76584@pb1.pair.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20293_14259842.1213684058249" 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> <28.6B.06776.09A76584@pb1.pair.com> Subject: Re: [PHP-DEV] deprecation status of $str{42} versus $str[42] From: arvids.godjuks@gmail.com ("Arvids Godjuks") ------=_Part_20293_14259842.1213684058249 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/6/16 Edward Z. Yang : > > PHP userland code may not treat strings as first class arrays, but > that's certainly how they are represented internally. > > Anyway, it would be neat if we could get that foreach syntax to work. I > get sick of for($i = 0, $c = strlen($str); $i < $c; $i++) very quickly. > > Totaly agree, the best example from the whole thread ------=_Part_20293_14259842.1213684058249--