PHP 选项/信息

2022-10-19 09:23:22
内容摘要
PHP 选项/信息函数列表
文章正文

PHP 选项/信息函数列表

assert - Checks if assertion is FALSE
assert_options - Set/get the various assert flags
dl - Loads a PHP extension at runtime
extension_loaded - Find out whether an extension is loaded
gc_collect_cycles - Forces collection of any existing garbage cycles
gc_disable - Deactivates the circular reference collector
gc_enable - Activates the circular reference collector
gc_enabled - Returns status of the circular reference collector
getenv - Gets the value of an environment variable
getlastmod - Gets time of last page modification
getmyinode - Gets the inode of the current script
getopt - Gets options from the command line argument list
getrusage - Gets the current resource usages
get_cfg_var - Gets the value of a PHP configuration option
get_current_user - Gets the name of the owner of the current PHP script
get_defined_constants - Returns an associative array with the names of all the constants and their values
get_extension_funcs - Returns an array with the names of the functions of a module
get_included_files - Returns an array with the names of included or required files
get_include_path - Gets the current include_path configuration option
get_loaded_extensions - Returns an array with the names of all modules compiled and loaded
get_magic_quotes_gpc - Gets the current configuration setting of magic_quotes_gpc
get_magic_quotes_runtime - Gets the current active configuration setting of magic_quotes_runtime
get_required_files - 别名 get_included_files
ini_alter - 别名 ini_set
ini_get - Gets the value of a configuration option
ini_get_all - Gets all configuration options
ini_restore - Restores the value of a configuration option
ini_set - Sets the value of a configuration option
magic_quotes_runtime - 别名 set_magic_quotes_runtime
main - Dummy for main
memory_get_peak_usage - Returns the peak of memory allocated by PHP
memory_get_usage - Returns the amount of memory allocated to PHP
phpcredits - Prints out the credits for PHP
phpversion - Gets the current PHP version
php_ini_loaded_file - Retrieve a path to the loaded php.ini file
php_ini_scanned_files - Return a list of .ini files parsed from the additional ini dir
php_logo_guid - Gets the logo guid
php_sapi_name - Returns the type of interface between web server and PHP
php_uname - Returns information about the operating system PHP is running on
putenv - Sets the value of an environment variable
restore_include_path - Restores the value of the include_path configuration option
set_include_path - Sets the include_path configuration option
set_magic_quotes_runtime - Sets the current active configuration setting of magic_quotes_runtime
set_time_limit - 设置脚本最大执行时间
sys_get_temp_dir - Returns directory path used for temporary files
version_compare - Compares two "PHP-standardized" version number strings
zend_logo_guid - Gets the Zend guid
zend_thread_id - Returns a unique identifier for the current thread
zend_version - Gets the version of the current Zend engine
代码注释

作者:喵哥笔记

IDC笔记

学的不仅是技术,更是梦想!