Haha, not even close. As an application developer (writing for public consumption anyway) you have to deal with the fact that installed versions of PHP range from 4.1.x to 5.2.x and everything in between, with peaks at 4.4.latest and 5.2.latest. That means to use anything from PHP5 you have to write it yourself in pure PHP or use PEAR's PHP_Compat, which is obviously much slower.
This means that most application developers target 4.2.x, since it's so ubiquitous, and ignore many of the nice things introduced in PHP 5. This in turn stops hosts from wanting to upgrade, since it's a hassle and most PHP apps necessarily run on PHP 4. It's a vicious circle.
PHP's fault for 5.0 being such a farce, thus causing hosts to be reluctant to upgrade. PHP's fault for not having even a rudimentary versioning system whereby you can target your apps to certain releases of PHP.
Not particularly liking a language's design flaws does not make me bitter.
Rudimentary versioning system.. hmm, so you're inable to use phpversion() with/or version_compare() to inform the website owners they need to upgrade when your app runs?
Rudimentary versioning system.. hmm, so you're inable to use phpversion() with/or version_compare() to inform the website owners they need to upgrade when your app runs?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.