array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.zend-version.php', 1 => 'zend_version', 2 => 'Gets the version of the current Zend engine', ), 'up' => array ( 0 => 'ref.info.php', 1 => 'PHP Options/Info Functions', ), 'prev' => array ( 0 => 'function.zend-thread-id.php', 1 => 'zend_thread_id', ), 'next' => array ( 0 => 'book.phpdbg.php', 1 => 'phpdbg', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/info/functions/zend-version.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

zend_version

(PHP 4, PHP 5, PHP 7, PHP 8)

zend_versionGets the version of the current Zend engine

Description

zend_version(): string

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

Parameters

This function has no parameters.

Return Values

Returns the Zend Engine version number, as a string.

Examples

Example #1 zend_version() example

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

The above example will output something similar to:

Zend engine version: 2.2.0

See Also