Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45971 Return-Path: <0xcafefeed@gmail.com> Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21642 invoked from network); 7 Nov 2009 16:49:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2009 16:49:01 -0000 Authentication-Results: pb1.pair.com header.from=0xcafefeed@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=0xcafefeed@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.213 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: 0xcafefeed@gmail.com X-Host-Fingerprint: 209.85.218.213 mail-bw0-f213.google.com Received: from [209.85.218.213] ([209.85.218.213:33836] helo=mail-bw0-f213.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/03-03668-CF4A5FA4 for ; Sat, 07 Nov 2009 11:49:01 -0500 Received: by bwz5 with SMTP id 5so2222438bwz.23 for ; Sat, 07 Nov 2009 08:48:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=3xJLHwSqGMjXFFe9UAVQWnNY7pVcgzOyp9iGhLi1SK0=; b=tshsuq/MtE4VzLQ/a504u1nrLp7I/25NrHIn4bcymA1TGQpaunuEG8rvtega2HGoiG Y8eHvL8d4TaKufsq+IoW57Jcjki7mIRGWk0qzqGfF/z+gdVEs0Vicf63oHpN9WD4Xadf WsDEqQD6/sa0p/L/y3moUPZR2q444KrLjPbi0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=g1x0MWs6iRqGp016SGAGPk8wRncD7DU5NNcZ8XoV/yqCiK5IgKUyVTVsHJ6nU/g8V2 fadeNBPTgzqfxHcMz7/2l90d9PijlQDKzoFn/yLMh1R5hDjKzkt7saN8ic9Juani6HuC g8sPl2b/Z1Ho5WvnlggWeiQOi7g3jP1v5unbU= MIME-Version: 1.0 Received: by 10.204.162.137 with SMTP id v9mr6172081bkx.60.1257612537162; Sat, 07 Nov 2009 08:48:57 -0800 (PST) In-Reply-To: References: Date: Sat, 7 Nov 2009 08:48:57 -0800 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Regarding constructions like func()[0] From: 0xcafefeed@gmail.com (mm w) Hi Melfar, from my point of view I am totally to make this a legal call like in python or ruby java, as I liked compact code I liked to avoid temp vars especially on a read-only call, but it might require some effort there and the final patch might be not so simple, anyway this is a community call, what I can say about this kind of missing feature "sometimes, I can hear in my office" : "PHP is a retarded language, PHP sucks or worst", my point there, that is sometimes good to listen to people who are not "passionate" by the language but just using it to do their job and be paid. Cheers! On Sat, Nov 7, 2009 at 3:42 AM, melfar wrote: > Hello! > > I have filed a bug (suggestion) at http://bugs.php.net/bug.php?id=50003 > What do you think about enabling such a constructions in future versions of > php? > > Br, > -melfar > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >