I studied PHP, and a lot of time in books and tutorials that I read, functions appeared in PHP 5. I donβt know anything about the history of PHP, so I donβt know I donβt know if I can safely use these functions on most servers. I know in Python, adoption of new versions is very slow (3.x is used in some applications, 2.6 on most desktop computers, many server distributions, such as Red Hat, have versions already in 2.4).
Is there a similar situation in the PHP ecosystem? My server has version 5.2, but some servers still work with PHP 4? What version of PHP can I safely assume that the server will work?
source
share