Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24165 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60508 invoked by uid 1010); 20 Jun 2006 23:11:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60492 invoked from network); 20 Jun 2006 23:11:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2006 23:11:29 -0000 X-PHP-List-Original-Sender: lists@block-online.eu X-Host-Fingerprint: 81.169.145.174 natklopstock.rzone.de Solaris 10 (beta) Received: from ([81.169.145.174:62382] helo=natklopstock.rzone.de) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id F9/CE-25433-F9088944 for ; Tue, 20 Jun 2006 19:11:28 -0400 Received: from ollie.block.home (dslb-084-063-167-076.pools.arcor-ip.net [84.63.167.76]) (authenticated bits=0) by post.webmailer.de (8.13.6/8.13.6) with ESMTP id k5KNBXTe017492 for ; Wed, 21 Jun 2006 01:11:34 +0200 (MEST) Reply-To: lists@block-online.eu To: internals@lists.php.net Date: Wed, 21 Jun 2006 01:11:11 +0200 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200606210111.12187.lists@block-online.eu> Subject: Looking for an explanation From: lists@block-online.eu (Oliver Block) Hello list, as you are familiar with the source code of php it might be easy to explain how the brain of php interprets the following code: print ($life = "hard") -1; print "\nlife: {$life}\n"; Best regards, Oliver P.S. Actually, the origin of that code was the output of a string literal concatenated with count($array) -1