English [ˈvɜ:ʃn] US [ˈvɜ:rʒn]

n. Version; translation, translation; statement; inversion

Plural: versions

php phpversion() function syntax

Function:Get the current PHP version

Syntax: string phpversion ([string $extension])

Parameters:

ParameterDescription
extension Optional extension .

Description: Returns a string containing information about the currently running PHP interpreter or extension version.

php phpversion() function example

<?php
echo phpversion();
?>

Run instance»

Click the "Run instance" button to view the online instance

Remarks: Return the current PHP version information