Re: [RFC][VOTE] Closure from callable

From: Date: Mon, 16 May 2016 00:56:38 +0000
Subject: Re: [RFC][VOTE] Closure from callable
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-93345@lists.php.net to get a copy of this message
On Sun, May 15, 2016 at 11:20 AM, Nikita Nefedov <inefedor@gmail.com> wrote: > why would you need to support a $this->fieldName case though? > Because to not support it would be to deliberately design in a new flavor of inconsistency into the language. $obj->memb is a property access in PHP. Making it suddenly mean "method" is a significant change (and one which belongs in a major version if at all). -Sara

« previous php.internals (#93345) next »