Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75034 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20399 invoked from network); 21 Jun 2014 20:59:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jun 2014 20:59:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=mails@thomasbley.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mails@thomasbley.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain thomasbley.de from 85.13.137.24 cause and error) X-PHP-List-Original-Sender: mails@thomasbley.de X-Host-Fingerprint: 85.13.137.24 dd15934.kasserver.com Linux 2.6 Received: from [85.13.137.24] ([85.13.137.24:44779] helo=dd15934.kasserver.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/42-06324-A32F5A35 for ; Sat, 21 Jun 2014 16:59:39 -0400 Received: from dd15934.kasserver.com (dd0800.kasserver.com [85.13.143.204]) by dd15934.kasserver.com (Postfix) with ESMTPSA id 6BD1E26161D; Sat, 21 Jun 2014 22:59:35 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SenderIP: 80.187.101.84 User-Agent: ALL-INKL Webmail 2.11 mobile In-Reply-To: <3F6CB20C-31E1-49A3-BF0C-E1423D3E8D89@ajf.me> References: <469CC1CB-D16B-46AF-B65D-48C6312741CF@ajf.me> <20140621200548.77D3726161D@dd15934.kasserver.com><3F6CB20C-31E1-49A3-BF0C-E1423D3E8D89@ajf.me> To: ajf@ajf.me Cc: nikita.ppv@gmail.com, internals@lists.php.net Message-ID: <20140621205935.6BD1E26161D@dd15934.kasserver.com> Date: Sat, 21 Jun 2014 22:59:35 +0200 (CEST) Subject: Re: [PHP-DEV] [VOTE] (restart) Bare Name Array Literal/Dereference From: mails@thomasbley.de ("Thomas Bley") Are "scalar" methods also for arrays? Regards Thomas Andrea Faulds schrieb am 21. Juni 2014 22:16: > > On 21 Jun 2014, at 21:05, Thomas Bley wrote: > >> just for simplicity, using $array->key instead of $array:>key would be >> nice. > > It would be. The problem with that, though, is that it would limit > possibly more useful ideas in that space, for example, we couldn’t > implement Nikita’s scalar methods,* which I’d very much like. > > *Technically, we still could, but it’d be a bit confusing IMO, and I’d > like to see certain scalar properties as well, ->length for instance. > -- > Andrea Faulds > http://ajf.me/ > > > >