Current Location: Home> Function Categories> zend_version

zend_version

Get the current version of Zend engine
Name:zend_version
Category:PHP Options and Information
Programming Language:php
One-line Description:Get the Zend engine version of the current PHP engine

Function name: zend_version()

Function description: The zend_version() function is used to obtain the Zend engine version of the current PHP engine.

usage:

 string zend_version ( void )

parameter:

This function does not accept any parameters.

Return value:

Returns a string representing the Zend engine version of the current PHP engine.

Example:

 echo "Zend 引擎版本:" . zend_version();

Output:

 Zend 引擎版本:3.4.0

Notes:

  • The zend_version() function is available in PHP 4.0.0 or above.
  • This function does not require any extensions to be used.
  • The version number returned by this function is the version of the Zend engine, not the version number of PHP.
Similar Functions
Popular Articles