Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

ini_get

Description

The ini_get of Options / Information for PHP gets the value of a configuration option.

Syntax

ini_get(
    string $option
): string|false

Parameters

option

The configuration option name.

Return

Returns the value of the configuration option as a string on success, or an empty string for null values. Returns false if the configuration option doesn't exist.

Examples

1 · option

<?

$option = "include_path";

$return = ini_get($option);

echo $return;

?>
.:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/share/php
HomeMenu