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

ini_get_all

Description

The ini_get_all of Options / Information for PHP gets all configuration options.

Syntax

ini_get_all(
    ?string $extension = null,
    bool $details = true
): array|false

Parameters

extension

An optional extension name. If not null or the string core, the function returns only options specific for that extension.

details

Retrieve details settings or only the current value for each setting. Default is true (retrieve details).

Return

Returns an associative array with directive name as the array key. Returns false and raises an E_WARNING level error if the extension doesn't exist.

When details is true (default) the array will contain global_value (set in php.ini), local_value (perhaps set with ini_set() or .htaccess), and access (the access level).

When details is false the value will be the current value of the option.

NOTE: It's possible for a directive to have multiple access levels, which is why access shows the appropriate bitmask values.

Examples

1 · void

<?

$return = ini_get_all();

print_r($return);

?>
Array
(
    [allow_url_fopen] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 4
        )

    [allow_url_include] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 4
        )

    [arg_separator.input] => Array
        (
            [global_value] => &
            [local_value] => &
            [access] => 6
        )

    [arg_separator.output] => Array
        (
            [global_value] => &
            [local_value] => &
            [access] => 7
        )

    [assert.active] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [assert.bail] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [assert.callback] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [assert.exception] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [assert.warning] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [auto_append_file] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 6
        )

    [auto_detect_line_endings] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [auto_globals_jit] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 6
        )

    [auto_prepend_file] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 6
        )

    [bcmath.scale] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [browscap] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [cli.pager] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [cli.prompt] => Array
        (
            [global_value] => \b \> 
            [local_value] => \b \> 
            [access] => 7
        )

    [curl.cainfo] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [date.default_latitude] => Array
        (
            [global_value] => 31.7667
            [local_value] => 31.7667
            [access] => 7
        )

    [date.default_longitude] => Array
        (
            [global_value] => 35.2333
            [local_value] => 35.2333
            [access] => 7
        )

    [date.sunrise_zenith] => Array
        (
            [global_value] => 90.833333
            [local_value] => 90.833333
            [access] => 7
        )

    [date.sunset_zenith] => Array
        (
            [global_value] => 90.833333
            [local_value] => 90.833333
            [access] => 7
        )

    [date.timezone] => Array
        (
            [global_value] => UTC
            [local_value] => UTC
            [access] => 7
        )

    [default_charset] => Array
        (
            [global_value] => UTF-8
            [local_value] => UTF-8
            [access] => 7
        )

    [default_mimetype] => Array
        (
            [global_value] => text/html
            [local_value] => text/html
            [access] => 7
        )

    [default_socket_timeout] => Array
        (
            [global_value] => 60
            [local_value] => 60
            [access] => 7
        )

    [disable_classes] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [disable_functions] => Array
        (
            [global_value] => symlink,shell_exec,exec,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,show_source,pcntl_exec
            [local_value] => symlink,shell_exec,exec,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,show_source,pcntl_exec
            [access] => 4
        )

    [display_errors] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [display_startup_errors] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [doc_root] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [docref_ext] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [docref_root] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [enable_dl] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [enable_post_data_reading] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 6
        )

    [error_append_string] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [error_log] => Array
        (
            [global_value] => error_log
            [local_value] => error_log
            [access] => 7
        )

    [error_log_mode] => Array
        (
            [global_value] => 0644
            [local_value] => 0644
            [access] => 7
        )

    [error_prepend_string] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [error_reporting] => Array
        (
            [global_value] => 22527
            [local_value] => 22527
            [access] => 7
        )

    [exif.decode_jis_intel] => Array
        (
            [global_value] => JIS
            [local_value] => JIS
            [access] => 7
        )

    [exif.decode_jis_motorola] => Array
        (
            [global_value] => JIS
            [local_value] => JIS
            [access] => 7
        )

    [exif.decode_unicode_intel] => Array
        (
            [global_value] => UCS-2LE
            [local_value] => UCS-2LE
            [access] => 7
        )

    [exif.decode_unicode_motorola] => Array
        (
            [global_value] => UCS-2BE
            [local_value] => UCS-2BE
            [access] => 7
        )

    [exif.encode_jis] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [exif.encode_unicode] => Array
        (
            [global_value] => ISO-8859-15
            [local_value] => ISO-8859-15
            [access] => 7
        )

    [expose_php] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [extension_dir] => Array
        (
            [global_value] => /opt/alt/php83/usr/lib64/php/modules
            [local_value] => /opt/alt/php83/usr/lib64/php/modules
            [access] => 4
        )

    [fiber.stack_size] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [file_uploads] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 4
        )

    [filter.default] => Array
        (
            [global_value] => unsafe_raw
            [local_value] => unsafe_raw
            [access] => 6
        )

    [filter.default_flags] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 6
        )

    [from] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [gd.jpeg_ignore_warning] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [hard_timeout] => Array
        (
            [global_value] => 2
            [local_value] => 2
            [access] => 4
        )

    [highlight.comment] => Array
        (
            [global_value] => #FF8000
            [local_value] => #FF8000
            [access] => 7
        )

    [highlight.default] => Array
        (
            [global_value] => #0000BB
            [local_value] => #0000BB
            [access] => 7
        )

    [highlight.html] => Array
        (
            [global_value] => #000000
            [local_value] => #000000
            [access] => 7
        )

    [highlight.keyword] => Array
        (
            [global_value] => #007700
            [local_value] => #007700
            [access] => 7
        )

    [highlight.string] => Array
        (
            [global_value] => #DD0000
            [local_value] => #DD0000
            [access] => 7
        )

    [html_errors] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [iconv.input_encoding] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [iconv.internal_encoding] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [iconv.output_encoding] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [ignore_repeated_errors] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [ignore_repeated_source] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [ignore_user_abort] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [implicit_flush] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [include_path] => Array
        (
            [global_value] => .:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/share/php
            [local_value] => .:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/share/php
            [access] => 7
        )

    [input_encoding] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [internal_encoding] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [log_errors] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [mail.add_x_header] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 6
        )

    [mail.force_extra_parameters] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 6
        )

    [mail.log] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 6
        )

    [mail.mixed_lf_and_crlf] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 6
        )

    [max_execution_time] => Array
        (
            [global_value] => 90
            [local_value] => 90
            [access] => 7
        )

    [max_file_uploads] => Array
        (
            [global_value] => 20
            [local_value] => 20
            [access] => 6
        )

    [max_input_nesting_level] => Array
        (
            [global_value] => 64
            [local_value] => 64
            [access] => 6
        )

    [max_input_time] => Array
        (
            [global_value] => 60
            [local_value] => 60
            [access] => 6
        )

    [max_input_vars] => Array
        (
            [global_value] => 1000
            [local_value] => 1000
            [access] => 6
        )

    [max_multipart_body_parts] => Array
        (
            [global_value] => -1
            [local_value] => -1
            [access] => 6
        )

    [mbstring.detect_order] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [mbstring.encoding_translation] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 6
        )

    [mbstring.http_input] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [mbstring.http_output] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [mbstring.http_output_conv_mimetypes] => Array
        (
            [global_value] => ^(text/|application/xhtml\+xml)
            [local_value] => ^(text/|application/xhtml\+xml)
            [access] => 7
        )

    [mbstring.internal_encoding] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [mbstring.language] => Array
        (
            [global_value] => neutral
            [local_value] => neutral
            [access] => 7
        )

    [mbstring.regex_retry_limit] => Array
        (
            [global_value] => 1000000
            [local_value] => 1000000
            [access] => 7
        )

    [mbstring.regex_stack_limit] => Array
        (
            [global_value] => 100000
            [local_value] => 100000
            [access] => 7
        )

    [mbstring.strict_detection] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [mbstring.substitute_character] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [memory_limit] => Array
        (
            [global_value] => 512M
            [local_value] => 512M
            [access] => 7
        )

    [mysqli.allow_local_infile] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 4
        )

    [mysqli.allow_persistent] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 4
        )

    [mysqli.default_host] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [mysqli.default_port] => Array
        (
            [global_value] => 3306
            [local_value] => 3306
            [access] => 7
        )

    [mysqli.default_pw] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [mysqli.default_socket] => Array
        (
            [global_value] => /var/lib/mysql/mysql.sock
            [local_value] => /var/lib/mysql/mysql.sock
            [access] => 7
        )

    [mysqli.default_user] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [mysqli.local_infile_directory] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [mysqli.max_links] => Array
        (
            [global_value] => -1
            [local_value] => -1
            [access] => 4
        )

    [mysqli.max_persistent] => Array
        (
            [global_value] => -1
            [local_value] => -1
            [access] => 4
        )

    [mysqli.rollback_on_cached_plink] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 4
        )

    [mysqlnd.collect_memory_statistics] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [mysqlnd.collect_statistics] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [mysqlnd.debug] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [mysqlnd.log_mask] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [mysqlnd.mempool_default_size] => Array
        (
            [global_value] => 16000
            [local_value] => 16000
            [access] => 7
        )

    [mysqlnd.net_cmd_buffer_size] => Array
        (
            [global_value] => 4096
            [local_value] => 4096
            [access] => 7
        )

    [mysqlnd.net_read_buffer_size] => Array
        (
            [global_value] => 32768
            [local_value] => 32768
            [access] => 7
        )

    [mysqlnd.net_read_timeout] => Array
        (
            [global_value] => 86400
            [local_value] => 86400
            [access] => 7
        )

    [mysqlnd.sha256_server_public_key] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 2
        )

    [mysqlnd.trace_alloc] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [open_basedir] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [openssl.cafile] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 2
        )

    [openssl.capath] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 2
        )

    [output_buffering] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 6
        )

    [output_encoding] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [output_handler] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 6
        )

    [pcre.backtrack_limit] => Array
        (
            [global_value] => 1000000
            [local_value] => 1000000
            [access] => 7
        )

    [pcre.jit] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [pcre.recursion_limit] => Array
        (
            [global_value] => 100000
            [local_value] => 100000
            [access] => 7
        )

    [phar.cache_list] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [phar.readonly] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [phar.require_hash] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [post_max_size] => Array
        (
            [global_value] => 128M
            [local_value] => 128M
            [access] => 6
        )

    [precision] => Array
        (
            [global_value] => 14
            [local_value] => 14
            [access] => 7
        )

    [realpath_cache_size] => Array
        (
            [global_value] => 4096K
            [local_value] => 4096K
            [access] => 4
        )

    [realpath_cache_ttl] => Array
        (
            [global_value] => 120
            [local_value] => 120
            [access] => 4
        )

    [register_argc_argv] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 6
        )

    [report_memleaks] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [report_zend_debug] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [request_order] => Array
        (
            [global_value] => GP
            [local_value] => GP
            [access] => 6
        )

    [sendmail_from] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [sendmail_path] => Array
        (
            [global_value] => /usr/sbin/sendmail -t -i
            [local_value] => /usr/sbin/sendmail -t -i
            [access] => 4
        )

    [serialize_precision] => Array
        (
            [global_value] => -1
            [local_value] => -1
            [access] => 7
        )

    [session.auto_start] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 2
        )

    [session.cache_expire] => Array
        (
            [global_value] => 180
            [local_value] => 180
            [access] => 7
        )

    [session.cache_limiter] => Array
        (
            [global_value] => nocache
            [local_value] => nocache
            [access] => 7
        )

    [session.cookie_domain] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [session.cookie_httponly] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [session.cookie_lifetime] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [session.cookie_path] => Array
        (
            [global_value] => /
            [local_value] => /
            [access] => 7
        )

    [session.cookie_samesite] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [session.cookie_secure] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [session.gc_divisor] => Array
        (
            [global_value] => 1000
            [local_value] => 1000
            [access] => 7
        )

    [session.gc_maxlifetime] => Array
        (
            [global_value] => 1440
            [local_value] => 1440
            [access] => 7
        )

    [session.gc_probability] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [session.lazy_write] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [session.name] => Array
        (
            [global_value] => PHPSESSID
            [local_value] => PHPSESSID
            [access] => 7
        )

    [session.referer_check] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [session.save_handler] => Array
        (
            [global_value] => files
            [local_value] => files
            [access] => 7
        )

    [session.save_path] => Array
        (
            [global_value] => /opt/alt/php83/var/lib/php/session
            [local_value] => /opt/alt/php83/var/lib/php/session
            [access] => 7
        )

    [session.serialize_handler] => Array
        (
            [global_value] => php
            [local_value] => php
            [access] => 7
        )

    [session.sid_bits_per_character] => Array
        (
            [global_value] => 5
            [local_value] => 5
            [access] => 7
        )

    [session.sid_length] => Array
        (
            [global_value] => 26
            [local_value] => 26
            [access] => 7
        )

    [session.trans_sid_hosts] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [session.trans_sid_tags] => Array
        (
            [global_value] => a=href,area=href,frame=src,form=
            [local_value] => a=href,area=href,frame=src,form=
            [access] => 7
        )

    [session.upload_progress.cleanup] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 2
        )

    [session.upload_progress.enabled] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 2
        )

    [session.upload_progress.freq] => Array
        (
            [global_value] => 1%
            [local_value] => 1%
            [access] => 2
        )

    [session.upload_progress.min_freq] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 2
        )

    [session.upload_progress.name] => Array
        (
            [global_value] => PHP_SESSION_UPLOAD_PROGRESS
            [local_value] => PHP_SESSION_UPLOAD_PROGRESS
            [access] => 2
        )

    [session.upload_progress.prefix] => Array
        (
            [global_value] => upload_progress_
            [local_value] => upload_progress_
            [access] => 2
        )

    [session.use_cookies] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [session.use_only_cookies] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [session.use_strict_mode] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [session.use_trans_sid] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [short_open_tag] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 6
        )

    [SMTP] => Array
        (
            [global_value] => localhost
            [local_value] => localhost
            [access] => 7
        )

    [smtp_port] => Array
        (
            [global_value] => 25
            [local_value] => 25
            [access] => 7
        )

    [sqlite3.defensive] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 1
        )

    [sqlite3.extension_dir] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [sys_temp_dir] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [syslog.facility] => Array
        (
            [global_value] => LOG_USER
            [local_value] => LOG_USER
            [access] => 4
        )

    [syslog.filter] => Array
        (
            [global_value] => no-ctrl
            [local_value] => no-ctrl
            [access] => 7
        )

    [syslog.ident] => Array
        (
            [global_value] => php
            [local_value] => php
            [access] => 4
        )

    [unserialize_callback_func] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [unserialize_max_depth] => Array
        (
            [global_value] => 4096
            [local_value] => 4096
            [access] => 7
        )

    [upload_max_filesize] => Array
        (
            [global_value] => 128M
            [local_value] => 128M
            [access] => 6
        )

    [upload_tmp_dir] => Array
        (
            [global_value] => /tmp
            [local_value] => /tmp
            [access] => 4
        )

    [url_rewriter.hosts] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [url_rewriter.tags] => Array
        (
            [global_value] => form=
            [local_value] => form=
            [access] => 7
        )

    [user_agent] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [user_dir] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 4
        )

    [user_ini.cache_ttl] => Array
        (
            [global_value] => 300
            [local_value] => 300
            [access] => 4
        )

    [user_ini.filename] => Array
        (
            [global_value] => .user.ini
            [local_value] => .user.ini
            [access] => 4
        )

    [variables_order] => Array
        (
            [global_value] => GPCS
            [local_value] => GPCS
            [access] => 6
        )

    [xmlrpc_error_number] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [xmlrpc_errors] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 4
        )

    [zend.assertions] => Array
        (
            [global_value] => -1
            [local_value] => -1
            [access] => 7
        )

    [zend.detect_unicode] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [zend.enable_gc] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [zend.exception_ignore_args] => Array
        (
            [global_value] => 1
            [local_value] => 1
            [access] => 7
        )

    [zend.exception_string_param_max_len] => Array
        (
            [global_value] => 15
            [local_value] => 15
            [access] => 7
        )

    [zend.max_allowed_stack_size] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 4
        )

    [zend.multibyte] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 2
        )

    [zend.reserved_stack_size] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 4
        )

    [zend.script_encoding] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [zend.signal_check] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 4
        )

    [zlib.output_compression] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

    [zlib.output_compression_level] => Array
        (
            [global_value] => -1
            [local_value] => -1
            [access] => 7
        )

    [zlib.output_handler] => Array
        (
            [global_value] => 
            [local_value] => 
            [access] => 7
        )

)

2 · extension

<?

$extension = "pcre";

$return = ini_get_all($extension);

print_r($return);

?>
Array
(
    [pcre.backtrack_limit] => Array
        (
            [global_value] => 1000000
            [local_value] => 1000000
            [access] => 7
        )

    [pcre.jit] => Array
        (
            [global_value] => 0
            [local_value] => 0
            [access] => 7
        )

    [pcre.recursion_limit] => Array
        (
            [global_value] => 100000
            [local_value] => 100000
            [access] => 7
        )

)

3 · details

<?

$extension = "pcre";
$details = false;

$return = ini_get_all($extension, $details);

print_r($return);

?>
Array
(
    [pcre.backtrack_limit] => 1000000
    [pcre.jit] => 0
    [pcre.recursion_limit] => 100000
)
HomeMenu