Documentation

IniHelper
in package

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.

Tags
author

John Stevenson john-stevenson@blueyonder.co.uk

Table of Contents

getAll()  : array<string|int, mixed>
Returns an array of php.ini locations with at least one entry
getMessage()  : string
Describes the location of the loaded php.ini file(s)

Methods

getAll()

Returns an array of php.ini locations with at least one entry

public static getAll() : array<string|int, mixed>

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 values
array<string|int, mixed>

getMessage()

Describes the location of the loaded php.ini file(s)

public static getMessage() : string
Return values
string

Search results