By Harry Fuecks

Backwards Compatibility in PHP5

By Harry Fuecks
Last chance to win! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

…is, simply put, excellent.

Been checking out WACT under PHP 5.0.0. So far have run into only one critical (but easy to fix) issue with parse_ini_file now returning an empty array, instead of FALSE, when it fails to find the ini file. There’s some other minor issues which I’ve yet to look at but no show stoppers.

WACT, IMO, pushes PHP pretty hard, particularily with OO is concerned. As we have pretty good unit test coverage, thanks to Simple Test, bugs tend to show up quickly. So far it’s looking like WACT will “work” all the way from PHP 4.0.6 (I’ve personally tried 4.1.0 and Sourceforge runs 4.1.2) up to PHP 5.0.0. To me that’s pretty impressive and testament to the outstanding job they’ve done on 5.0.0.

That’s not to say PHP 5.0.0 is 100% stable yet. John points out problems with HTTP basic authentication here, for example. If the past is anything to go by, PHP 4.x really became stable with 4.0.6.

Login or Create Account to Comment
Login Create Account
Get the most important and interesting stories in tech. Straight to your inbox, daily.
Is it good?Is it good?