← All docs

zend_version()

Returns the version of the Zend engine the runtime reports.

zend_version()

function zend_version(): string

Returns the version of the Zend engine the runtime reports.

Parameters: none.

Returns: string

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how zend_version is implemented in the compiler, see the internals page.