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

Breadcrumb

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

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

Code

public static function getAll() : array {
    return XdebugHandler::getAllIniFiles();
}

API Navigation

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