update : 2015.11.03
php.shukuma.com

검색:
 
 
Gets extension ini entries

ReflectionExtension::getINIEntries

(PHP 5)

ReflectionExtension::getINIEntriesGets extension ini entries

설명

public array ReflectionExtension::getINIEntries ( void )

Get the ini entries for an extension.

인수

이 함수는 인수가 없습니다.

반환값

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

예제

Example #1 ReflectionExtension::getINIEntries() example

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

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

위 예제의 출력 예시:

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
)

참고