Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PhpSubprocess.php

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\Process

Code

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal