public static function getAllIniFiles()
    {
        if (!empty(self::$name)) {
            $env = getenv(self::$name.self::SUFFIX_INIS);

            if (false !== $env) {
                return explode(PATH_SEPARATOR, $env);
            }
        }

        $paths = array((string) php_ini_loaded_file());

        if ($scanned = php_ini_scanned_files()) {
            $paths = array_merge($paths, array_map('trim', explode(',', $scanned)));
        }

        return $paths;
    }
public static function getAllIniFiles()
    {
        if (!empty(self::$name)) {
            $env = getenv(self::$name.self::SUFFIX_INIS);

            if (false !== $env) {
                return explode(PATH_SEPARATOR, $env);
            }
        }

        $paths = array((string) php_ini_loaded_file());

        if ($scanned = php_ini_scanned_files()) {
            $paths = array_merge($paths, array_map('trim', explode(',', $scanned)));
        }

        return $paths;
    }
public static function getAllIniFiles ( ) { if ( ! empty ( self :: $ name ) ) { $ env = getenv ( self :: $ name . self :: SUFFIX_INIS ) ; if ( false !== $ env ) { return explode ( PATH_SEPARATOR , $ env ) ; } } $ paths = array ( ( string ) php_ini_loaded_file ( ) ) ; if ( $ scanned = php_ini_scanned_files ( ) ) { $ paths = array_merge ( $ paths , array_map ( 'trim' , explode ( ',' , $ scanned ) ) ) ; } return $ paths ; }
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 array
Returns an array of php . ini locations with at least one entry