PHP 8.1.0 Beta 1 available for testing


(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.


This function has no parameters.

Return Values

Returns the Zend Engine version number, as a string.


Example #1 zend_version() example

echo "Zend engine version: " zend_version();

The above example will output something similar to:

Zend engine version: 2.2.0

See Also

  • phpinfo() - Outputs information about PHP's configuration
  • phpcredits() - Prints out the credits for PHP
  • php_logo_guid()
  • phpversion() - Gets the current PHP version

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top