ini_alter

(PHP 4, PHP 5, PHP 7) Alias of ini_set() This function is an alias of: ini_set().

ini_get_all

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Gets all configuration options array ini_get_all ([ string $extension [, bool $details = true ]] ) Returns all the registered configuration options. Parameters: extension An optional extension name. If set, the function return only options specific for that extension. details Retrieve details settings

ini_get

(PHP 4, PHP 5, PHP 7) Gets the value of a configuration option string ini_get ( string $varname ) Returns the value of the configuration option on success. Parameters: varname The configuration option name. Returns: Returns the value of the configuration option as a string on success, or an empty string for null values. Returns FALSE if the confi

ini_restore

(PHP 4, PHP 5, PHP 7) Restores the value of a configuration option void ini_restore ( string $varname ) Restores a given configuration option to its original value. Parameters: varname The configuration option name. Returns: No value is returned. Examples: ini_restore() example

ini_set

(PHP 4, PHP 5, PHP 7) Sets the value of a configuration option string ini_set ( string $varname, string $newvalue ) Sets the value of the given configuration option. The configuration option will keep this new value during the script's execution, and will be restored at the script's ending. Parameters: varname Not all the available options can be changed using ini_set().

magic_quotes_runtime

(PHP 4, PHP 5) Alias of set_magic_quotes_runtime() This function is an alias of: set_magic_quotes_runtime()

main

Dummy for main() There is no function named main() except in the PHP source. In PHP 4.3.0, a new type of error handling in the PHP source (php_error_docref) was introduced. One feature is to provide links to a manual page in PHP error messages when the PHP directives html_errors (on by default) and docref_root (on by default until PHP 4.3.2) are set. Sometimes error messages refer to a manual page for the function main() which is why this page exists. If you di

memory_get_peak_usage

(PHP 5 >= 5.2.0, PHP 7) Returns the peak of memory allocated by PHP int memory_get_peak_usage ([ bool $real_usage = false ] ) Returns the peak of memory, in bytes, that's been allocated to your PHP script. Parameters: real_usage Set this to TRUE to get the real size of memory allocated from system. If not set or FALSE only the memory used by emalloc() is reported.

memory_get_usage

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Returns the amount of memory allocated to PHP int memory_get_usage ([ bool $real_usage = false ] ) Returns the amount of memory, in bytes, that's currently being allocated to your PHP script. Parameters: real_usage Set this to TRUE to get total memory allocated from system, including unused pages. If not set or FALSE only the used memory

php_ini_loaded_file

(PHP 5 >= 5.2.4, PHP 7) Retrieve a path to the loaded php.ini file string php_ini_loaded_file ( void ) Check if a php.ini file is loaded, and retrieve its path. Returns: The loaded php.ini path, or FALSE if one is not loaded. Examples: php_ini_loaded_file() example <?php $inipath = php_ini_loaded_file(); if ($inipa