function PhpSubprocess::getAllIniFiles
1 call to PhpSubprocess::getAllIniFiles()
- PhpSubprocess::__construct in vendor/
symfony/ process/ PhpSubprocess.php
File
-
vendor/
symfony/ process/ PhpSubprocess.php, line 154
Class
- PhpSubprocess
- PhpSubprocess runs a PHP command as a subprocess while keeping the original php.ini settings.
Namespace
Symfony\Component\ProcessCode
private function getAllIniFiles() : array {
$paths = [
(string) php_ini_loaded_file(),
];
if (false !== ($scanned = php_ini_scanned_files())) {
$paths = array_merge($paths, array_map('trim', explode(',', $scanned)));
}
return $paths;
}