Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53507 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86702 invoked from network); 22 Jun 2011 12:41:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2011 12:41:47 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:48606] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/21-12605-B03E10E4 for ; Wed, 22 Jun 2011 08:41:47 -0400 Received: by vwl1 with SMTP id 1so617956vwl.29 for ; Wed, 22 Jun 2011 05:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ITIYSPoljfwdIGw07TM72ukztNV1+ozIP4OGYf8qFHc=; b=Oevuo1efY3s6ZMukqqJgJuaCfYfMcoLUq46Sxqg5vKEJ2N32Pxed8CE+z6RUsaUI89 CI4DiTvyyMfceDDgeaSx7NgNPOJjSneUmZczsvx9901TIuehROyih0GrHe/o5ZRRovKA uwApS5sCAcg8oBd68Kum4VBQiKk/W+kZhxSvM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=JgeboFe3KpMawGPYHxnUHJtttHYQl5M7pJsTgQrdU/uhaM+noGocf7a9oQgsTBHqeS rDHMN7/wYzfj0uoY8kxtBNW57p7pKtbhHppLF9CGPzkYWtfXPgTjTFYeVd+j5oqYidWG ZU5QrsJeQDy1+MisZ5opZhsDloUZbdEfbJ2c0= MIME-Version: 1.0 Received: by 10.220.183.10 with SMTP id ce10mr132921vcb.265.1308746504814; Wed, 22 Jun 2011 05:41:44 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.220.86.213 with HTTP; Wed, 22 Jun 2011 05:41:44 -0700 (PDT) In-Reply-To: <4E01DE36.40009@thelounge.net> References: <4DFF7A12.8060808@sugarcrm.com> <4E00818C.7040201@lsces.co.uk> <4E008EA3.4000403@lsces.co.uk> <41269.5975f3c3.1308671739.nsm@avilys.eik.lt> <4E00C370.9040803@thelounge.net> <4E00C5D0.9020302@thelounge.net> <57392.5975f3c3.1308676323.nsm@avilys.eik.lt> <4E00DA33.9040504@thelounge.net> <58008.5975f3c3.1308687593.nsm@avilys.eik.lt> <4E00FEAC.3040500@thelounge.net> <52139.5975f3c3.1308720282.nsm@avilys.eik.lt> <4E01CEA0.2090607@thelounge.net> <4E01DE36.40009@thelounge.net> Date: Wed, 22 Jun 2011 14:41:44 +0200 X-Google-Sender-Auth: ZGsaQJfw2TB8CsZ5sFSO2egzjS0 Message-ID: To: Reindl Harald Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] foreach() for strings From: kalle@php.net (Kalle Sommer Nielsen) 2011/6/22 Reindl Harald : > WTF should this do? > this won't return boolean It's an expression, so its evaluated result is a boolean hence why it makes sense -- regards, Kalle Sommer Nielsen kalle@php.net