Hello till, we changed the behavior as much back as we need be. Fact is that this has been an oversight. It has been a bug we just fixed. As an eagreement we decided not to mark all of these as fatal. We might do so in later versions. However we have been mentioning this for years now. Fix the damn code. If you are not willing to do so, then imo you should just stick with older versions.
Saturday, March 1, 2008, 8:15:49 PM, you wrote: > Hi! > (Apologies for starting a new thread.) > I compiled 5.2.5 last night and noticed that it effectively breaks all > static calls which have no static keyword assigned in the function's > definition (sorry, a bit clumsy here). I *thought* this had been > discussed before and was due to 5.3 but then it had been decided to > move this into E_STRICT (again) and wait off with the major BC break > for PHP6. Apparently I perceived wrong, none the less I believe this > needs to be fixed (= removed) ASAP. > Reason is - this breaks a dozen apps out there, and while I certainly > agree with everyone that those apps and scripts need to be updated - > the reality is that it will take some time. It would be sufficient if > PHP6 announces such a major break, I don't see how a "minor" release > like PHP 5.2.5 can do this. Especially since it worked (including > E_STRICT) in 5.2.3 (and I believe 5.2.4 also). > I see all the technical reasons and quite frankly - they don't matter here. > PHP relies on a user base which is not strictly technical. The > adoption of PHP does not just come from its great concept and ease of > learning but also due to hard facts - such as, there are CMS, gallery > scripts, blogs, webmails and forums which people want to use. Those > people don't care why their app doesn't work when you change from > 5.2.x to another 5.2.x. Effectively this means more FUD about moving > to PHP5 is spread and people stay with PHP4 a lot longer because PHP5 > for them is totally unpredictable. > I can totally see how you can translate it for them that it breaks > when you switch from 4 to 5, or even 5 to 6 - hell, especially 4 to 6. > But not in what I would consider a minor version (minor in regard to > the version number). > Last but not least - is there anything (a compile flag, etc.) one can > disabled now to "fix" this issue? Or do you suggest a rollback to > 5.2.4 (or 5.2.3)? > Thanks, > Till > P.S. > Please CC me on your replies. Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php