is_php($version)
Parameters: |
|
---|---|
Returns: |
TRUE if the running PHP version is at least the one specified or FALSE if not |
Return type: |
bool |
Determines if the PHP version being used is greater than the supplied version number.
Example:
if (is_php('5.3')) { $str = quoted_printable_encode($str); }
Returns boolean TRUE if the installed version of PHP is equal to or greater than the supplied version number. Returns FALSE if the installed version of PHP is lower than the supplied version number.
Please login to continue.