PHP7函数大全(4553个函数)

a
函数    说明
abs    绝对值
acos    反余弦
acosh    反双曲余弦
addcslashes    以 C 语言风格使用反斜线转义字符串中的字符
addslashes    使用反斜线引用字符串
apache_child_terminate    在本次请求结束后终止 apache 子进程
apache_getenv    获取 Apache subprocess_env 变量
apache_get_modules    获得已加载的Apache模块列表
apache_get_version    获得Apache版本信息
apache_lookup_uri    对指定的 URI 执行部分请求并返回所有有关信息
apache_note    取得或设置 apache 请求记录
apache_request_headers    获取全部 HTTP 请求头信息
apache_reset_timeout    重置 Apache 写入计时器
apache_response_headers    获得全部 HTTP 响应头信息
apache_setenv    设置 Apache 子进程环境变量
apcu_add    Cache a new variable in the data store
apcu_cache_info    Retrieves cached information from APCu’s data store
apcu_cas    Updates an old value with a new value
apcu_clear_cache    Clears the APCu cache
apcu_dec    Decrease a stored number
apcu_delete    Removes a stored variable from the cache
apcu_entry    Atomically fetch or generate a cache entry
apcu_exists    Checks if entry exists
apcu_fetch    Fetch a stored variable from the cache
apcu_inc    Increase a stored number
apcu_sma_info    Retrieves APCu Shared Memory Allocation information
apcu_store    Cache a variable in the data store
apc_add    缓存一个变量到数据存储
apc_bin_dump    Get a binary dump of the given files and user variables
apc_bin_dumpfile    Output a binary dump of cached files and user variables to a file
apc_bin_load    Load a binary dump into the APC file/user cache
apc_bin_loadfile    Load a binary dump from a file into the APC file/user cache
apc_cache_info    Retrieves cached information from APC’s data store
apc_cas    用新值更新旧值
apc_clear_cache    清除APC缓存
apc_compile_file    Stores a file in the bytecode cache, bypassing all filters.
apc_dec    Decrease a stored number
apc_define_constants    Defines a set of constants for retrieval and mass-definition
apc_delete    从用户缓存中删除某个变量
apc_delete_file    Deletes files from the opcode cache
apc_exists    检查APC中是否存在某个或者某些key
apc_fetch    从缓存中取出存储的变量
apc_inc    递增一个储存的数字
apc_load_constants    Loads a set of constants from the cache
apc_sma_info    Retrieves APC’s Shared Memory Allocation information
apc_store    Cache a variable in the data store
apd_breakpoint    Stops the interpreter and waits on a CR from the socket
apd_callstack    Returns the current call stack as an array
apd_clunk    Throw a warning and a callstack
apd_continue    Restarts the interpreter
apd_croak    Throw an error, a callstack and then exit
apd_dump_function_table    Outputs the current function table
apd_dump_persistent_resources    Return all persistent resources as an array
apd_dump_regular_resources    Return all current regular resources as an array
apd_echo    Echo to the debugging socket
apd_get_active_symbols    Get an array of the current variables names in the local scope
apd_set_pprof_trace    Starts the session debugging
apd_set_session    Changes or sets the current debugging level
apd_set_session_trace    Starts the session debugging
apd_set_session_trace_socket    Starts the remote session debugging
array    新建一个数组
array_change_key_case    返回字符串键名全为小写或大写的数组
array_chunk    将一个数组分割成多个
array_column    返回数组中指定的一列
array_combine    创建一个数组,用一个数组的值作为其键名,另一个数组的值作为其值
array_count_values    统计数组中所有的值出现的次数
array_diff    计算数组的差集
array_diff_assoc    带索引检查计算数组的差集
array_diff_key    使用键名比较计算数组的差集
array_diff_uassoc    用用户提供的回调函数做索引检查来计算数组的差集
array_diff_ukey    用回调函数对键名比较计算数组的差集
array_fill    用给定的值填充数组
array_fill_keys    使用指定的键和值填充数组
array_filter    用回调函数过滤数组中的单元
array_flip    交换数组中的键和值
array_intersect    计算数组的交集
array_intersect_assoc    带索引检查计算数组的交集
array_intersect_key    使用键名比较计算数组的交集
array_intersect_uassoc    带索引检查计算数组的交集,用回调函数比较索引
array_intersect_ukey    用回调函数比较键名来计算数组的交集
array_keys    返回数组中部分的或所有的键名
array_key_exists    检查给定的键名或索引是否存在于数组中
array_map    将回调函数作用到给定数组的单元上
array_merge    合并一个或多个数组
array_merge_recursive    递归地合并一个或多个数组
array_multisort    对多个数组或多维数组进行排序
array_pad    用值将数组填补到指定长度
array_pop    将数组最后一个单元弹出(出栈)
array_product    计算数组中所有值的乘积
array_push    将一个或多个单元压入数组的末尾(入栈)
array_rand    从数组中随机取出一个或多个单元
array_reduce    用回调函数迭代地将数组简化为单一的值
array_replace    使用传递的数组替换第一个数组的元素
array_replace_recursive    使用传递的数组递归替换第一个数组的元素
array_reverse    返回一个单元顺序相反的数组
array_search    在数组中搜索给定的值,如果成功则返回相应的键名
array_shift    将数组开头的单元移出数组
array_slice    从数组中取出一段
array_splice    把数组中的一部分去掉并用其它值取代
array_sum    计算数组中所有值的和
array_udiff    用回调函数比较数据来计算数组的差集
array_udiff_assoc    带索引检查计算数组的差集,用回调函数比较数据
array_udiff_uassoc    带索引检查计算数组的差集,用回调函数比较数据和索引
array_uintersect    计算数组的交集,用回调函数比较数据
array_uintersect_assoc    带索引检查计算数组的交集,用回调函数比较数据
array_uintersect_uassoc    带索引检查计算数组的交集,用回调函数比较数据和索引
array_unique    移除数组中重复的值
array_unshift    在数组开头插入一个或多个单元
array_values    返回数组中所有的值
array_walk    使用用户自定义函数对数组中的每个元素做回调处理
array_walk_recursive    对数组中的每个成员递归地应用用户函数
arsort    对数组进行逆向排序并保持索引关系
asin    反正弦
asinh    反双曲正弦
asort    对数组进行排序并保持索引关系
assert    检查一个断言是否为 FALSE
assert_options    设置/获取断言的各种标志
atan    反正切
atan2    两个参数的反正切
atanh    反双曲正切

————————————————
版权声明:本文为CSDN博主「huidaoli」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/huidaoli/article/details/121965741

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值