php phpinfo() function


  Translation results:

UK [ˈɪnfəʊ] US [ˈɪnfoʊ]

n.Information

php phpinfo() functionsyntax

Function:Output information about PHP configuration

Syntax:bool phpinfo ()

Description:Output A large amount of information about the current state of PHP, including PHP compilation options, enabled extensions, PHP version, server information and environment variables (if compiled as a module), PHP environment variables, operating system version information, path variables, local configuration options Value and main value, HTTP header and PHP authorization information (License).

php phpinfo() functionexample

<?php
phpinfo();
?>

Run instance»

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

Remarks: Output specific PHP information

Home

Videos

Q&A