问题
When I'm developing applications that would be used on client web serves of different configurations, often with shared hosting, which PHP 5 version should I assume most web servers have, e.g 5.2.x, 5.3.x, etc?
回答1:
Version 5.2 is used by 84.9% of all the websites who use PHP version 5.
Version 5.3.3 is used by 39.7% of all the websites who use PHP version 5.3
You can see more statistical data from the following link:
http://w3techs.com/technologies/details/pl-php/5.3/all
回答2:
WordPress.org also collects stats about installs, you can see results here: WP stats
August 2014 it it 78% for 5.2 & 5.3 which are supposed EOL.
来源:https://stackoverflow.com/questions/5521774/which-php-5-version-is-most-commonly-used