array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), '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', ), '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

Опис

zend_version(): string

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

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the Zend Engine version number, as a string.

Приклади

Приклад #1 zend_version() example

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

Поданий вище приклад виведе щось схоже на:

Zend engine version: 2.2.0

Прогляньте також