Re: Suggestion Method Constant
| From: | Niklas Keller | Date: | Fri, 13 Oct 2017 08:00:21 +0000 |
| Subject: | Re: Suggestion Method Constant | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100890@lists.php.net to get a copy of this message | ||
>
> I also thought about the same for functions, just to be even more
> consistent.
> my_func::function
I already had the exact same ideas, but didn't propose them yet.
$obj::foo::method could be used for instance methods, while
Obj::foo::method could be for static methods.
Regards, Niklas