PHP Manual

PHP function phpversion()

2019-09-11T08:04:04.000Z

Obsah článku

Availability in PHP 4.0

Gets the current PHP version

Parameters

Parameter Data type Default value Note
$extension string null An optional extension name.

Return values

string

If the optional extension parameter is
specified, phpversion returns the version of that
extension, or false if there is no version information associated or
the extension isn't enabled.

Other resources

Official phpversion documentation

Jan Barášek   Více o autorovi

Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.

Rád vám pomůžu:

Související články

1.
372.

V jiných jazycích

Status:
All systems normal.
2025