PHP 忒聊
綴豖
ヶ輛
phpversion
(PHP 3, PHP 4)
Description
Returns a string containing the version of the currently running PHP parser.
蛁: This information is also available in the predefined constant PHP_VERSION.
瞰赽 1. phpversion() Example
?php // prints e.g. 'Current PHP version: 4.1.1' echo 'Current PHP version: '. phpversion();?
See also version_compare(), phpinfo(), phpcredits(), php_logo_guid(), and zend_version().
綴豖
れ萸
ヶ輛
phpinfo
奻珨撰
putenv