4 ms·
Right now I'd say the only major "jump" that exists is the one between PHP 4 (released +10 years ago) and PHP 5. Other than that, apps are largely backwards com
by Mahn 14y ago
Right now I'd say the only major "jump" that exists is the one between PHP 4 (released +10 years ago) and PHP 5. Other than that, apps are largely backwards compatible between 5.x versions, except for a few minor changes that no dev really stresses about.
The thing about PHP is that since it's massively used around the net, rather than forcing devs to catch up with the language, PHP devs themselves try as much as possible not to break backwards compability. Which in many ways is a pity, but that seems to be the direction of the language at the moment.
- signifiers 14y agoActually, I would call 5.3 as a fairly major jump - namespaces, closures (Lambda/anonymous functions), late static binding, const's allowed outside of classes. There are several popular PHP frameworks that require v. 5.3+. Some people even go so far as to call the 5.3.x branch “php 6 without Unicode”.
- wvenable 14y agoYes but most, if not all, PHP 5.2 code runs on PHP 5.3 without modification.