Name

ini_get_all

Synopsis

array ini_get_all([string extension [, bool details ]] )

Returns all configuration options as an associative array. If specified, and the name of a valid extension, only values pertaining to the extension extension are returned. If details is true (default) then detail settings are retrieved. Each value returned in the array is an associative array with three keys:

global_value

The global value for the configuration option, as set in php.ini

local_value

The local override for the configuration option, as set through ini_set(), for example

access

A bitmask with the levels at which the value can be set (see ini_set for more information on access levels)

Get Programming PHP, 3rd Edition 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.