php phpversion() function


  Translation results:

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

n. Version; translation, translation; statement; inversion

Plural: versions

php phpversion() functionsyntax

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() functionexample

<?php
echo phpversion();
?>

Run instance»

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

Remarks: Return the current PHP version information

Home

Videos

Q&A