2015 Northeast PHP Conference

zend_version

(PHP 4, PHP 5)

zend_versionGets the version of the current Zend engine

Description

string zend_version ( void )

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

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

add a note add a note

User Contributed Notes 1 note

up
0
kudomago at gmail dot com
1 month ago
It would have been nicer to use consistent format in functions/methods ( including built-in functions) :
e.g
phpversion() -- kewords together
zend_version()  -- using underscore
getTimezone()  -- camel case
DateTimeZone() -- Pascal case
are all  different formats.
Using a consistent format will definitely  make coding much easier to remember and more instinctive.
Productivity of PHP programmers will definitely be maximised.
To Top