Hi!

> My proposal is to deprecate the use of var on properties in PHP 7, and then
> remove support for it in PHP 8. This compliments the [0] "Remove PHP 4

How the life of the PHP user would be improved by this? Except for
making more code break, I'm not sure how it's helpful, could you explain?

> Constructors" RFC, as it is old PHP 4 behaviour, and according to the docs
> is only "supported for compatibility reasons", and personally I think users
> should be encourage to use proper visibility when defining properties.

"var" is the same as "public", public is proper visibility.

-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to