Gen. partnerAlgotech

PHP function php_ini_scanned_files()

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

|
September 11, 2019

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

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.