This is useful if you would like to write programs working only on some versions of PHP.
version_compare() compares two "PHP-standardized" version number strings. This is useful if you would like to write programs working only on some versions of PHP.