php8.5
Home/ Manual/ info / functions/ zend_version

zend_version

PHP function Edit on GitHub ✎

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

Gets the version of the current Zend engine

Description

zend_version(): string

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

Parameters Parameters

Return Values

Returns the Zend Engine version number, as a string.

Examples

zend_version() example

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

The above example will output something similar to:

output
Zend engine version: 2.2.0

See Also

Source: reference/info/functions/zend-version.xml · from the official PHP manual (php/doc-en)