PHP Options/Info 函数
PHP 手册

zend_version

(PHP 4, PHP 5)

zend_versionGets the version of the current Zend engine

说明

string zend_version ( void )

Returns a string containing the version of the currently running Zend Engine.

返回值

Returns the Zend Engine version number, as a string.

范例

Example #1 zend_version() example

<?php
echo "Zend engine version: " zend_version();
?>

上例的输出类似于:

Zend engine version: 2.2.0

参见


PHP Options/Info 函数
PHP 手册