zend_version

(PHP 4, PHP 5)

zend_versionGets the version of the current Zend engine

Descrierea

string zend_version ( void )

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

Valorile întoarse

Returns the Zend Engine version number, as a string.

Exemple

Example #1 zend_version() example

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

Exemplul de mai sus va afișa ceva similar cu:

Zend engine version: 2.2.0

A se vedea și

add a note add a note

User Contributed Notes 1 note

up
0
kudomago at gmail dot com
16 days 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