PHP function php_ini_scanned_files()

Availability in versions: PHP 4.3.0

Return a list of .ini files parsed from the additional ini dir

Parameters

The function has no input parameters.

Return values

string

A comma-separated string of .ini files on success. Each comma is followed by a newline. If the directive --with-config-file-scan-dir wasn't set, false is returned. If it was set and the directory was empty, an empty string is returned. If a file is unrecognizable, the file will still make it into the returned string but a PHP error will also result. This PHP error will be seen both at compile time and while using php_ini_scanned_files.

Other resources

Official documentation for php-ini-scanned-files

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.