(PHP 3, PHP 4 >= 4.0b1)
phpversion -- Get the current PHP version.
Description
Returns a string containing the version of the currently running
PHP parser.
Example 1. phpversion() example
// prints e.g. 'Current PHP version: 3.0rel-dev'
echo "Current PHP version: ".phpversion();
|
|
See also phpinfo(),
phpcredits(),
php_logo_guid(),
zend_version().