ini_get

string ini_get(string name) 

Retrieves a configuration value.

Returns:

Value of configuration option; FALSE on error

Description:

Gets the current value of a PHP configuration option.

Version:

Existing since version 4.0

Example:

Display current include path
$option = 'include_path'; 
echo "Value of $option => ", ini_get($option); 

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.