function IniHelper::getAll
Returns an array of php.ini locations with at least one entry
The equivalent of calling php_ini_loaded_file then php_ini_scanned_files. The loaded ini location is the first entry and may be empty.
Return value
string[]
2 calls to IniHelper::getAll()
- IniHelper::getMessage in vendor/
composer/ composer/ src/ Composer/ Util/ IniHelper.php - Describes the location of the loaded php.ini file(s)
- SolverProblemsException::createExtensionHint in vendor/
composer/ composer/ src/ Composer/ DependencyResolver/ SolverProblemsException.php
File
-
vendor/
composer/ composer/ src/ Composer/ Util/ IniHelper.php, line 34
Class
- IniHelper
- Provides ini file location functions that work with and without a restart. When the process has restarted it uses a tmp ini and stores the original ini locations in an environment variable.
Namespace
Composer\UtilCode
public static function getAll() : array {
return XdebugHandler::getAllIniFiles();
}