.net 1/2/3 together on XP?

Never really used PHP much, but I take it that it doesn't do multiversioning like .NET does then?

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.
 
Last edited:
And that's PHP's fault, because? Oh wait.. it's not. Hosts are too lazy to upgrade/update.

You really are bitter sometimes rob :)
 
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.
 
Yes, it certainly is versioning.. not sure what else you are referring to. :)

Code:
if ( version_compare(phpversion(), '5.1.3', '<') ) exit('You must have PHP 5.1.3 or later installed!');
 
Back
Top Bottom