PHP 5.4.33 Released

ReflectionExtension::getINIEntries

(PHP 5)

ReflectionExtension::getINIEntriesGets extension ini entries

Descrierea

public array ReflectionExtension::getINIEntries ( void )

Get the ini entries for an extension.

Parametri

Această funcție nu are parametri.

Valorile întoarse

An associative array with the ini entries as keys, with their defined values as values.

Exemple

Example #1 ReflectionExtension::getINIEntries() example

<?php
$ext 
= new ReflectionExtension('mysql');

print_r($ext->getINIEntries());
?>

Exemplul de mai sus va afișa ceva similar cu:

Array
(
    [mysql.allow_persistent] => 1
    [mysql.max_persistent] => -1
    [mysql.max_links] => -1
    [mysql.default_host] => 
    [mysql.default_user] => 
    [mysql.default_password] => 
    [mysql.default_port] => 
    [mysql.default_socket] => 
    [mysql.connect_timeout] => 60
    [mysql.trace_mode] => 
    [mysql.allow_local_infile] => 1
    [mysql.cache_size] => 2000
)

Vedeți de asemenea

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top