assert_options

(PHP 4, PHP 5, PHP 7) Set/get the various assert flags mixed assert_options ( int $what [, mixed $value ] ) Set the various assert() control options or just query their current settings. Parameters: what Assert Options Option INI Setting Default value Description ASSERT_ACTIVE assert.active 1 enable assert() evaluation ASSERT_WARNING assert.warning 1 issue a PHP warning fo

assert

(PHP 4, PHP 5, PHP 7) Checks if assertion is FALSE bool assert ( mixed $assertion [, string $description ] ) PHP 5 PHP 7 bool assert ( mixed $assertion [, Throwable $exception ] ) assert() will check the given assertion and take appropriate action if its result is FALSE. Traditional assertions (PHP 5 and 7) If the assertion is given as a string it will be evaluated as PHP code by assert(). The advantages of a string asse

cli_get_process_title

(PHP 5, PHP 7 >= 5.5.0, PHP 7) Returns the current process title string cli_get_process_title ( void ) Returns the current process title, as set by cli_set_process_title(). Note that this may not exactly match what is shown in ps or top, depending on your operating system. This function is available only in CLI mode. Returns: Return a string with the current process title or NULL on error.

cli_set_process_title

(PHP 5, PHP 7 >= 5.5.0, PHP 7) Sets the process title bool cli_set_process_title ( string $title ) Sets the process title visible in tools such as top and ps. This function is available only in CLI mode. Parameters: title The new title. Returns: Returns TRUE on success or FALSE on failure. Exception: An E_WARN

dl

(PHP 4, PHP 5, PHP 7) Loads a PHP extension at runtime bool dl ( string $library ) Loads the PHP extension given by the parameter library. Use extension_loaded() to test whether a given extension is already available or not. This works on both built-in extensions and dynamically loaded ones (either through php.ini or dl()). Parameters: library This parameter is only the

extension_loaded

(PHP 4, PHP 5, PHP 7) Find out whether an extension is loaded bool extension_loaded ( string $name ) Finds out whether the extension is loaded. Parameters: name The extension name. This parameter is case-insensitive. You can see the names of various extensions by using phpinfo() or if you're using the CGI or CLI version of PHP you can use the -m switch to list all avail

gc_collect_cycles

(PHP 5 >= 5.3.0, PHP 7) Forces collection of any existing garbage cycles int gc_collect_cycles ( void ) Forces collection of any existing garbage cycles. Returns: Returns number of collected cycles. See also: Garbage Collection -

gc_disable

(PHP 5 >= 5.3.0, PHP 7) Deactivates the circular reference collector void gc_disable ( void ) Deactivates the circular reference collector, setting zend.enable_gc to 0. Returns: No value is returned. See also: Garbage Collection -

gc_enable

(PHP 5 >= 5.3.0, PHP 7) Activates the circular reference collector void gc_enable ( void ) Activates the circular reference collector, setting zend.enable_gc to 1. Returns: No value is returned. See also: Garbage Collection -

gc_enabled

(PHP 5 >= 5.3.0, PHP 7) Returns status of the circular reference collector bool gc_enabled ( void ) Returns status of the circular reference collector. Returns: Returns TRUE if the garbage collector is enabled, FALSE otherwise. Examples: A gc_enabled() example <?php if(gc_enabled()) gc_collect_cycles(); ?>