Hi Guilherme, hi Robert.

> On 01 Dec 2014, at 14:58, Robert Stoll <p...@tutteli.ch> wrote:
> 
> I am not sure what makes more sense for PHP, but just as thought-provoking 
> impulse, wouldn't it be better just to check that all methods are static and 
> __construct private instead of turning methods magically into static methods 
> and __construct private?

I very much like the RFC in its current state except for the implicit static. 
While we can preserve the behaviour of automatically turning methods into 
static methods, this should indeed trigger a warning.

cu,
Lars
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to