Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48635 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75145 invoked from network); 4 Jun 2010 01:12:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jun 2010 01:12:17 -0000 Authentication-Results: pb1.pair.com header.from=tigger.on@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tigger.on@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tigger.on@gmail.com X-Host-Fingerprint: 74.125.83.42 mail-gw0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:64995] helo=mail-gw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/BB-07323-0F2580C4 for ; Thu, 03 Jun 2010 21:12:17 -0400 Received: by gwj16 with SMTP id 16so592611gwj.29 for ; Thu, 03 Jun 2010 18:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=jNgJP644TzQTosu+yHf64QFvR8ll/rlYeVNDerw/9Ic=; b=mdxQ49++10vCsv/qi2XWinZvy4iH/2Jaot4Kzo9CN/txWyWpb1/wJu8Rvx7Alwr2F/ ZgA4ode/agVAqI6IO9TLst67JxadG5g1KkKI175PCK4xwhWNNyLgs3UeT8YZ22EWwwjF OYckIaZZ618/glB9fBnERreb7NVVukkxrtL+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fbDfsI1po/lkINmDc4NjV+02XjE57MAEahOp2AACa62esuSP88yDd+u2cm6imm2hWv MPmUY5guynkvcUCPLvAOLEWmc1WBN6KSNwZiRfenkfOeOeuC3FqQMW58iRh2zKjAz6L/ fAniS3p5HbebfmO1Dzd5CGd97ahbA4xbFg4sc= MIME-Version: 1.0 Received: by 10.229.223.140 with SMTP id ik12mr2468393qcb.50.1275613934048; Thu, 03 Jun 2010 18:12:14 -0700 (PDT) Received: by 10.229.100.129 with HTTP; Thu, 3 Jun 2010 18:12:13 -0700 (PDT) Date: Fri, 4 Jun 2010 11:12:13 +1000 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Suggestion: echo function(var)[0]; From: tigger.on@gmail.com (Tig) Would be at all possible to implement this kind of shortcut? echo function(var)[0]; For example, to print the height of an image: Sure, if you want more than one of the returned array points, this would not be very efficient, however when you do only need one, it would be a lot nicer than: Anyway, just an idea. -Tig