Gen. partnerAlgotech

PHP function phpversion()

Gets the current PHP version

|
September 11, 2019

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

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.