zend_version

(PHP 4, PHP 5, PHP 7) Gets the version of the current Zend engine string zend_version ( void ) Returns a string containing the version of the currently running Zend Engine. Returns: Returns the Zend Engine version number, as a string. Examples: zend_version() example <?php echo "Zend engine version: " . zend_version();

zend_thread_id

(PHP 5, PHP 7) Returns a unique identifier for the current thread int zend_thread_id ( void ) This function returns a unique identifier for the current thread. Returns: Returns the thread id as an integer. Notes: This function is only available if PHP has been built with ZTS (Zend Thread Safety) support and debug mode (--enable-debug).

zend_logo_guid

(PHP 4, PHP < 5.5) Gets the Zend guid string zend_logo_guid ( void ) This function returns the ID which can be used to display the Zend logo using the built-in image. Returns: Returns PHPE9568F35-D428-11d2-A769-00AA001ACF42. This function has been DEPRECATED and REMOVED as of PHP 5.5.0. Changelog: 5.5

version_compare

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Compares two "PHP-standardized" version number strings mixed version_compare ( string $version1, string $version2 [, string $operator ] ) version_compare() compares two "PHP-standardized" version number strings. The function first replaces _, - and + with a dot . in the version strings and also inserts dots . before and after any non number so that for example '4.3.2RC1' becomes '4.3.2.RC.

sys_get_temp_dir

(PHP 5 >= 5.2.1, PHP 7) Returns directory path used for temporary files string sys_get_temp_dir ( void ) Returns the path of the directory PHP stores temporary files in by default. Returns: Returns the path of the temporary directory. Examples: sys_get_temp_dir() example <?php // Create a temporary file in the tempo

set_time_limit

(PHP 4, PHP 5, PHP 7) Limits the maximum execution time bool set_time_limit ( int $seconds ) Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini. When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout is the default 30 sec

set_magic_quotes_runtime

(PHP 4, PHP 5) Sets the current active configuration setting of magic_quotes_runtime bool set_magic_quotes_runtime ( bool $new_setting ) Set the current active configuration setting of magic_quotes_runtime. Parameters: new_setting FALSE for off, TRUE for on. Returns: Returns TRUE on success or FALSE on failure. Exception:

set_include_path

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Sets the include_path configuration option string set_include_path ( string $new_include_path ) Sets the include_path configuration option for the duration of the script. Parameters: new_include_path The new value for the include_path Returns: Returns the old include_path on success or FALSE on failure.

restore_include_path

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Restores the value of the include_path configuration option void restore_include_path ( void ) Restores the include_path configuration option back to its original master value as set in php.ini Returns: No value is returned. Examples: restore_include_path() example <?php echo get_inc

putenv

(PHP 4, PHP 5, PHP 7) Sets the value of an environment variable bool putenv ( string $setting ) Adds setting to the server environment. The environment variable will only exist for the duration of the current request. At the end of the request the environment is restored to its original state. Setting certain environment variables may be a potential security breach. The safe_mode_allowed_env_vars directive contains a comma