Re: [PHP-DEV] [RFC] Deprecate properties using var

2015-02-13 Thread Yasuo Ohgaki
On Fri, Feb 13, 2015 at 6:09 PM, Matteo Beccati wrote: > what does this have to do with using "var"? Sorry. I posted to wrong thread. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net

Re: [PHP-DEV] [RFC] Deprecate properties using var

2015-02-13 Thread Matteo Beccati
On 13/02/2015 09:27, Yasuo Ohgaki wrote: I thought I filed this as Trait bug, but there isn't. I might forgot to report it. http://3v4l.org/pL3Hr Class calls trait function that is PHP4 constructor. This could be resolved by removing PHP4 constructor. what does this have to do with using "var

Re: [PHP-DEV] [RFC] Deprecate properties using var

2015-02-13 Thread Yasuo Ohgaki
Hi all, On Thu, Feb 12, 2015 at 8:57 PM, Andrea Faulds wrote: > > On 12 Feb 2015, at 11:51, Pierre du Plessis > wrote: > > > > Before I create an RFC, I just want to get some feedback on a proposal, > to > > deprecated the use of "var" when declaring properties on a class. > > > > This was prev

Re: [PHP-DEV] [RFC] Deprecate properties using var

2015-02-12 Thread Stanislav Malyshev
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?

Re: [PHP-DEV] [RFC] Deprecate properties using var

2015-02-12 Thread Andrea Faulds
Hi Pierre, > On 12 Feb 2015, at 11:51, Pierre du Plessis wrote: > > Before I create an RFC, I just want to get some feedback on a proposal, to > deprecated the use of "var" when declaring properties on a class. > > This was previously deprecated in PHP 5.0.0 and the deprecation notice was > rem

[PHP-DEV] [RFC] Deprecate properties using var

2015-02-12 Thread Pierre du Plessis
Hi all Before I create an RFC, I just want to get some feedback on a proposal, to deprecated the use of "var" when declaring properties on a class. This was previously deprecated in PHP 5.0.0 and the deprecation notice was removed in PHP 5.1.3. My proposal is to deprecate the use of var on prop