|
PHP5中文手册
phpversion(PHP 4, PHP 5) phpversion — Gets the current PHP version 说明
string phpversion
([ string $extension
] )
Returns a string containing the version of the currently running PHP parser or extension. 参数
返回值If the optional extension parameter is specified, phpversion() returns the version of that extension, or FALSE if there is no version information associated or the extension isn't enabled. 范例
Example#1 phpversion() example
<?php 注释
|