Re: forward compatibility "public" in 4.4
| From: | Zeev Suraski | Date: | Thu, 16 Jun 2005 16:57:12 +0000 |
| Subject: | Re: forward compatibility "public" in 4.4 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16745@lists.php.net to get a copy of this message | ||
At 18:30 16/06/2005, Rasmus Lerdorf wrote:
Derick Rethans wrote: Hello, after reading this very long thread, and problems with having the public keyword I decided not to allow any kind of forward compability to be introduced into PHP 4.4. Discussion is over. Yeah, I think the change really needs to be in PHP5 instead. Right now the E_STRICT warnings in PHP5 on this stuff are not very useful. They are just strict enough to be annoying by warning about "var" but not strict enough to be useful because there is no warning on undeclared properties.I agree with half of what you're saying - I think we should also emit E_STRICT in case of creation of undeclared properties. We already have it in pretty much but it's commented out (probably since there was no E_STRICT when it was introduced, and an E_NOTICE was too aggressive). If there are no objections, I'll uncomment it and change it to E_STRICT. I think the E_STRICT warnings on var should stay. Zeev