Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<zend_thread_idphpdbg>
^PHP Options/Info FunctionsLast updated: Mon, 26 Oct 2026

zend_version

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

zend_version — Gets the version of the current Zend engine

Description

function 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


<zend_thread_idphpdbg>
^PHP Options/Info FunctionsLast updated: Mon, 26 Oct 2026