PHP7函数大全(4553个函数)

2019年11月08日 阅读数:132
这篇文章主要向大家介绍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 反双曲正切

b

函数 说明
base64_decode 对使用 MIME base64 编码的数据进行解码
base64_encode 使用 MIME base64 对数据进行编码
basename 返回路径中的文件名部分
base_convert 在任意进制之间转换数字
bbcode_add_element Adds a bbcode element
bbcode_add_smiley Adds a smiley to the parser
bbcode_create Create a BBCode Resource
bbcode_destroy Close BBCode_container resource
bbcode_parse Parse a string following a given rule set
bbcode_set_arg_parser Attach another parser in order to use another rule set for argument parsing
bbcode_set_flags Set or alter parser options
bcadd 2个任意精度数字的加法计算
bccomp 比较两个任意精度的数字
bcdiv 2个任意精度的数字除法计算
bcmod 对一个任意精度数字取模
bcmul 2个任意精度数字乘法计算
bcompiler_load 从一个 bz 压缩过的文件中读取并建立类
bcompiler_load_exe 从一个 bcompiler exe 文件中读取并建立类
bcompiler_parse_class 读取一个类的字节码并回调一个用户的函数
bcompiler_read 从一个文件句柄中读取并建立类
bcompiler_write_class 写入定义过的类的字节码
bcompiler_write_constant 写入定义过的常量的字节码
bcompiler_write_exe_footer 写入开始位置以及 exe 类型文件的结尾信号
bcompiler_write_file 写入 PHP 源码文件的字节码
bcompiler_write_footer 写入单个字符 \x00 用于标识编译数据的结尾
bcompiler_write_function 以字节码写入定义过的函数
bcompiler_write_functions_from_file 以字节码写入一个文件中定义过的因此函数
bcompiler_write_header 写入 bcompiler 头
bcompiler_write_included_filename 写入一个包含的文件的字节码
bcpow 任意精度数字的成方
bcpowmod Raise an arbitrary precision number to another, reduced by a specified modulus
bcscale 设置全部bc数学函数的默认小数点保留位数
bcsqrt 任意精度数字的二次方根
bcsub 2个任意精度数字的减法
bin2hex 函数把ASCII字符的字符串转换为十六进制值
bindec 二进制转换为十进制
bindtextdomain Sets the path for a domain
bind_textdomain_codeset Specify the character encoding in which the messages from the DOMAIN message catalog will be returned
blenc_encrypt Encrypt a PHP script with BLENC.
boolval Get the boolean value of a variable
bson_decode 反序列化一个 BSON 对象为 PHP 数组
bson_encode 序列化一个 PHP 变量为 BSON 字符串
bzclose 关闭一个 bzip2 文件
bzcompress 把一个字符串压缩成 bzip2 编码数据
bzdecompress 解压经 bzip2 编码过的数据
bzerrno 返回一个 bzip2 错误码
bzerror 返回包含 bzip2 错误号和错误字符串的一个 array
bzerrstr 返回一个 bzip2 的错误字符串
bzflush 强制写入全部写缓冲区的数据
bzopen 打开一个经 bzip2 压缩过的文件
bzread bzip2 文件二进制安全地读取
bzwrite 二进制安全地写入 bzip2 文件

c

函数 说明
cairo_create Returns a new CairoContext object on the requested surface.
cairo_font_face_get_type Description
cairo_font_options_create Description
cairo_font_options_equal Description
cairo_font_options_get_antialias Description
cairo_font_options_get_hint_metrics Description
cairo_font_options_get_hint_style Description
cairo_font_options_get_subpixel_order Description
cairo_font_options_hash Description
cairo_font_options_merge Description
cairo_font_options_set_antialias Description
cairo_font_options_set_hint_metrics Description
cairo_font_options_set_hint_style Description
cairo_font_options_set_subpixel_order Description
cairo_font_options_status Description
cairo_format_stride_for_width Description
cairo_image_surface_create Description
cairo_image_surface_create_for_data Description
cairo_image_surface_create_from_png Description
cairo_image_surface_get_data Description
cairo_image_surface_get_format Description
cairo_image_surface_get_height Description
cairo_image_surface_get_stride Description
cairo_image_surface_get_width Description
cairo_matrix_invert Description
cairo_matrix_multiply Description
cairo_matrix_rotate Description
cairo_matrix_transform_distance Description
cairo_matrix_transform_point Description
cairo_matrix_translate Description
cairo_pattern_add_color_stop_rgb Description
cairo_pattern_add_color_stop_rgba Description
cairo_pattern_create_for_surface Description
cairo_pattern_create_linear Description
cairo_pattern_create_radial Description
cairo_pattern_create_rgb Description
cairo_pattern_create_rgba Description
cairo_pattern_get_color_stop_count Description
cairo_pattern_get_color_stop_rgba Description
cairo_pattern_get_extend Description
cairo_pattern_get_filter Description
cairo_pattern_get_linear_points Description
cairo_pattern_get_matrix Description
cairo_pattern_get_radial_circles Description
cairo_pattern_get_rgba Description
cairo_pattern_get_surface Description
cairo_pattern_get_type Description
cairo_pattern_set_extend Description
cairo_pattern_set_filter Description
cairo_pattern_set_matrix Description
cairo_pattern_status Description
cairo_pdf_surface_create Description
cairo_pdf_surface_set_size Description
cairo_ps_get_levels Description
cairo_ps_level_to_string Description
cairo_ps_surface_create Description
cairo_ps_surface_dsc_begin_page_setup Description
cairo_ps_surface_dsc_begin_setup Description
cairo_ps_surface_dsc_comment Description
cairo_ps_surface_get_eps Description
cairo_ps_surface_restrict_to_level Description
cairo_ps_surface_set_eps Description
cairo_ps_surface_set_size Description
cairo_scaled_font_create Description
cairo_scaled_font_extents Description
cairo_scaled_font_get_ctm Description
cairo_scaled_font_get_font_face Description
cairo_scaled_font_get_font_matrix Description
cairo_scaled_font_get_font_options Description
cairo_scaled_font_get_scale_matrix Description
cairo_scaled_font_get_type Description
cairo_scaled_font_glyph_extents Description
cairo_scaled_font_status Description
cairo_scaled_font_text_extents Description
cairo_surface_copy_page Description
cairo_surface_create_similar Description
cairo_surface_finish Description
cairo_surface_flush Description
cairo_surface_get_content Description
cairo_surface_get_device_offset Description
cairo_surface_get_font_options Description
cairo_surface_get_type Description
cairo_surface_mark_dirty Description
cairo_surface_mark_dirty_rectangle Description
cairo_surface_set_device_offset Description
cairo_surface_set_fallback_resolution Description
cairo_surface_show_page Description
cairo_surface_status Description
cairo_surface_write_to_png Description
cairo_svg_surface_create Description
cairo_svg_surface_restrict_to_version Description
cairo_svg_version_to_string Description
calculhmac Obtain a hmac key (needs 2 arguments)
calcul_hmac Obtain a hmac key (needs 8 arguments)
call_user_func 把第一个参数做为回调函数调用
call_user_func_array 调用回调函数,并把一个数组参数做为回调函数的参数
call_user_method 对特定对象调用用户方法(已废弃)
call_user_method_array 调用一个用户方法,同时传递参数数组(已废弃)
cal_days_in_month 返回某个历法中某年中某月的天数
cal_from_jd 转换Julian Day计数到一个支持的历法。
cal_info 返回选定历法的信息
cal_to_jd 从一个支持的历法转变为Julian Day计数。
ceil 进一法取整
chdb_create Creates a chdb file
chdir 改变目录
checkdate 验证一个格里高里日期
checkdnsrr 给指定的主机(域名)或者IP地址作DNS通讯检查
chgrp 改变文件所属的组
chmod 改变文件模式
chop rtrim 的别名
chown 改变文件的全部者
chr 返回指定的字符
chroot 改变根目录
chunk_split 将字符串分割成小块
classkit_import Import new class method definitions from a file
classkit_method_add Dynamically adds a new method to a given class
classkit_method_copy Copies a method from class to another
classkit_method_redefine Dynamically changes the code of the given method
classkit_method_remove Dynamically removes the given method
classkit_method_rename Dynamically changes the name of the given method
class_alias 为一个类建立别名
class_exists 检查类是否已定义
class_implements 返回指定的类实现的全部接口。
class_parents 返回指定类的父类。
class_uses Return the traits used by the given class
clearstatcache 清除文件状态缓存
cli_get_process_title Returns the current process title
cli_set_process_title Sets the process title
closedir 关闭目录句柄
closelog 关闭系统日志连接
compact 创建一个数组,包括变量名和它们的值
com_create_guid Generate a globally unique identifier (GUID)
com_event_sink Connect events from a COM object to a PHP object
com_get_active_object Returns a handle to an already running instance of a COM object
com_load_typelib 装载一个 Typelib
com_message_pump Process COM messages, sleeping for up to timeoutms milliseconds
com_print_typeinfo Print out a PHP class definition for a dispatchable interface
connection_aborted 检查客户端是否已经断开
connection_status 返回链接的状态位
constant 返回一个常量的值
Constants for PDO_4D Constants for PDO_4D
Context 参数 Context 参数列表
convert_cyr_string 将字符由一种 Cyrillic 字符转换成另外一种
convert_uudecode 解码一个 uuencode 编码的字符串
convert_uuencode 使用 uuencode 编码一个字符串
copy 拷贝文件
cos 余弦
cosh 双曲余弦
count 计算数组中的单元数目或对象中的属性个数
counter_bump 修改简单计数器的当前值。
counter_bump_value 更新计数器资源的当前值。
counter_create 建立一个包含单个数值的计数器。
counter_get 获取简单计数器的当前值。
counter_get_meta 返回计数器资源的部分元信息。
counter_get_named 按名称查询一个已存在的计数器,并做为资源返回。
counter_get_value 获取计数器资源的当前值。
counter_reset 重置简单计数器的当前值。
counter_reset_value 重置计数器资源的当前值。
count_chars 返回字符串所用字符的信息
crack_check Performs an obscure check with the given password
crack_closedict Closes an open CrackLib dictionary
crack_getlastmessage Returns the message from the last obscure check
crack_opendict Opens a new CrackLib dictionary
crc32 计算一个字符串的 crc32 多项式
create_function Create an anonymous (lambda-style) function
crypt 单向字符串散列
ctype_alnum 作字母和数字字符检测
ctype_alpha 作纯字符检测
ctype_cntrl 作控制字符检测
ctype_digit 作纯数字检测
ctype_graph 作可打印字符串检测,空格除外
ctype_lower 作小写字符检测
ctype_print 作可打印字符检测
ctype_punct 检测可打印的字符是否是不包含空白、数字和字母
ctype_space 作空白字符检测
ctype_upper 作大写字母检测
ctype_xdigit 检测字符串是否只包含十六进制字符
cubrid_affected_rows Return the number of rows affected by the last SQL statement
cubrid_bind Bind variables to a prepared statement as parameters
cubrid_client_encoding Return the current CUBRID connection charset
cubrid_close Close CUBRID connection
cubrid_close_prepare Close the request handle
cubrid_close_request Close the request handle
cubrid_column_names Get the column names in result
cubrid_column_types Get column types in result
cubrid_col_get Get contents of collection type column using OID
cubrid_col_size Get the number of elements in collection type column using OID
cubrid_commit Commit a transaction
cubrid_connect Open a connection to a CUBRID Server
cubrid_connect_with_url Establish the environment for connecting to CUBRID server
cubrid_current_oid Get OID of the current cursor location
cubrid_data_seek Move the internal row pointer of the CUBRID result
cubrid_db_name Get db name from results of cubrid_list_dbs
cubrid_disconnect Close a database connection
cubrid_drop Delete an instance using OID
cubrid_errno Return the numerical value of the error message from previous CUBRID operation
cubrid_error Get the error message
cubrid_error_code Get error code for the most recent function call
cubrid_error_code_facility Get the facility code of error
cubrid_error_msg Get last error message for the most recent function call
cubrid_execute Execute a prepared SQL statement
cubrid_fetch Fetch the next row from a result set
cubrid_fetch_array Fetch a result row as an associative array, a numeric array, or both
cubrid_fetch_assoc Return the associative array that corresponds to the fetched row
cubrid_fetch_field Get column information from a result and return as an object
cubrid_fetch_lengths Return an array with the lengths of the values of each field from the current row
cubrid_fetch_object Fetche the next row and returns it as an object
cubrid_fetch_row Return a numerical array with the values of the current row
cubrid_field_flags Return a string with the flags of the given field offset
cubrid_field_len Get the maximum length of the specified field
cubrid_field_name Return the name of the specified field index
cubrid_field_seek Move the result set cursor to the specified field offset
cubrid_field_table Return the name of the table of the specified field
cubrid_field_type Return the type of the column corresponding to the given field offset
cubrid_free_result Free the memory occupied by the result data
cubrid_get Get a column using OID
cubrid_get_autocommit Get auto-commit mode of the connection
cubrid_get_charset Return the current CUBRID connection charset
cubrid_get_class_name Get the class name using OID
cubrid_get_client_info Return the client library version
cubrid_get_db_parameter Returns the CUBRID database parameters
cubrid_get_query_timeout Get the query timeout value of the request
cubrid_get_server_info Return the CUBRID server version
cubrid_insert_id Return the ID generated for the last updated AUTO_INCREMENT column
cubrid_is_instance Check whether the instance pointed by OID exists
cubrid_list_dbs Return an array with the list of all existing CUBRID databases
cubrid_load_from_glo Read data from a GLO instance and save it in a file
cubrid_lob2_bind Bind a lob object or a string as a lob object to a prepared statement as parameters.
cubrid_lob2_close Close LOB object.
cubrid_lob2_export Export the lob object to a file.
cubrid_lob2_import Import BLOB/CLOB data from a file.
cubrid_lob2_new Create a lob object.
cubrid_lob2_read Read from BLOB/CLOB data.
cubrid_lob2_seek Move the cursor of a lob object.
cubrid_lob2_seek64 Move the cursor of a lob object.
cubrid_lob2_size Get a lob object’s size.
cubrid_lob2_size64 Get a lob object’s size.
cubrid_lob2_tell Tell the cursor position of the LOB object.
cubrid_lob2_tell64 Tell the cursor position of the LOB object.
cubrid_lob2_write Write to a lob object.
cubrid_lob_close Close BLOB/CLOB data
cubrid_lob_export Export BLOB/CLOB data to file
cubrid_lob_get Get BLOB/CLOB data
cubrid_lob_send Read BLOB/CLOB data and send straight to browser
cubrid_lob_size Get BLOB/CLOB data size
cubrid_lock_read Set a read lock on the given OID
cubrid_lock_write Set a write lock on the given OID
cubrid_move_cursor Move the cursor in the result
cubrid_new_glo Create a glo instance
cubrid_next_result Get result of next query when executing multiple SQL statements
cubrid_num_cols Return the number of columns in the result set
cubrid_num_fields Return the number of columns in the result set
cubrid_num_rows Get the number of rows in the result set
cubrid_pconnect Open a persistent connection to a CUBRID server
cubrid_pconnect_with_url Open a persistent connection to CUBRID server
cubrid_ping Ping a server connection or reconnect if there is no connection
cubrid_prepare Prepare a SQL statement for execution
cubrid_put Update a column using OID
cubrid_query Send a CUBRID query
cubrid_real_escape_string Escape special characters in a string for use in an SQL statement
cubrid_result Return the value of a specific field in a specific row
cubrid_rollback Roll back a transaction
cubrid_save_to_glo Save requested file in a GLO instance
cubrid_schema Get the requested schema information
cubrid_send_glo Read data from glo and send it to std output
cubrid_seq_drop Delete an element from sequence type column using OID
cubrid_seq_insert Insert an element to a sequence type column using OID
cubrid_seq_put Update the element value of sequence type column using OID
cubrid_set_add Insert a single element to set type column using OID
cubrid_set_autocommit Set autocommit mode of the connection
cubrid_set_db_parameter Sets the CUBRID database parameters
cubrid_set_drop Delete an element from set type column using OID
cubrid_set_query_timeout Set the timeout time of query execution
cubrid_unbuffered_query Perform a query without fetching the results into memory
cubrid_version Get the CUBRID PHP module’s version
CURL context options CURL 上下文选项列表
curl_close 关闭一个cURL会话
curl_copy_handle 复制一个cURL句柄和它的全部选项
curl_errno 返回最后一次的错误号
curl_error 返回一个保护当前会话最近一次错误的字符串
curl_escape 使用 URL 编码给定的字符串
curl_exec 执行一个cURL会话
curl_file_create 建立一个 CURLFile 对象
curl_getinfo 获取一个cURL链接资源句柄的信息
curl_init 初始化一个cURL会话
curl_multi_add_handle 向curl批处理会话中添加单独的curl句柄
curl_multi_close 关闭一组cURL句柄
curl_multi_exec 运行当前 cURL 句柄的子链接
curl_multi_getcontent 若是设置了CURLOPT_RETURNTRANSFER,则返回获取的输出的文本流
curl_multi_info_read 获取当前解析的cURL的相关传输信息
curl_multi_init 返回一个新cURL批处理句柄
curl_multi_remove_handle 移除curl批处理句柄资源中的某个句柄资源
curl_multi_select 等待全部cURL批处理中的活动链接
curl_multi_setopt 为 cURL 并行处理设置一个选项
curl_multi_strerror Return string describing error code
curl_pause Pause and unpause a connection
curl_reset Reset all options of a libcurl session handle
curl_setopt 设置一个cURL传输选项
curl_setopt_array 为cURL传输会话批量设置选项
curl_share_close Close a cURL share handle
curl_share_init Initialize a cURL share handle
curl_share_setopt Set an option for a cURL share handle.
curl_strerror Return string describing the given error code
curl_unescape 解码给定的 URL 编码的字符串
curl_version 获取cURL版本信息
current 返回数组中的当前单元
cyrus_authenticate Authenticate against a Cyrus IMAP server
cyrus_bind Bind callbacks to a Cyrus IMAP connection
cyrus_close Close connection to a Cyrus IMAP server
cyrus_connect Connect to a Cyrus IMAP server
cyrus_query Send a query to a Cyrus IMAP server
cyrus_unbind Unbind …

d

函数 说明
date 格式化一个本地时间/日期
date_default_timezone_get 取得一个脚本中全部日期时间函数所使用的默认时区
date_default_timezone_set 设定用于一个脚本中全部日期时间函数的默认时区
date_parse Returns associative array with detailed info about given date
date_parse_from_format Get info about given date formatted according to the specified format
date_sunrise 返回给定的日期与地点的日出时间
date_sunset 返回给定的日期与地点的日落时间
date_sun_info Returns an array with information about sunset/sunrise and twilight begin/end
db2_autocommit Returns or sets the AUTOCOMMIT state for a database connection
db2_bind_param Binds a PHP variable to an SQL statement parameter
db2_client_info Returns an object with properties that describe the DB2 database client
db2_close Closes a database connection
db2_columns Returns a result set listing the columns and associated metadata for a table
db2_column_privileges Returns a result set listing the columns and associated privileges for a table
db2_commit Commits a transaction
db2_connect Returns a connection to a database
db2_conn_error Returns a string containing the SQLSTATE returned by the last connection attempt
db2_conn_errormsg Returns the last connection error message and SQLCODE value
db2_cursor_type Returns the cursor type used by a statement resource
db2_escape_string Used to escape certain characters
db2_exec Executes an SQL statement directly
db2_execute Executes a prepared SQL statement
db2_fetch_array Returns an array, indexed by column position, representing a row in a result set
db2_fetch_assoc Returns an array, indexed by column name, representing a row in a result set
db2_fetch_both Returns an array, indexed by both column name and position, representing a row in a result set
db2_fetch_object Returns an object with properties representing columns in the fetched row
db2_fetch_row Sets the result set pointer to the next row or requested row
db2_field_display_size Returns the maximum number of bytes required to display a column
db2_field_name Returns the name of the column in the result set
db2_field_num Returns the position of the named column in a result set
db2_field_precision Returns the precision of the indicated column in a result set
db2_field_scale Returns the scale of the indicated column in a result set
db2_field_type Returns the data type of the indicated column in a result set
db2_field_width Returns the width of the current value of the indicated column in a result set
db2_foreign_keys Returns a result set listing the foreign keys for a table
db2_free_result Frees resources associated with a result set
db2_free_stmt Frees resources associated with the indicated statement resource
db2_get_option Retrieves an option value for a statement resource or a connection resource
db2_last_insert_id Returns the auto generated ID of the last insert query that successfully executed on this connection
db2_lob_read Gets a user defined size of LOB files with each invocation
db2_next_result Requests the next result set from a stored procedure
db2_num_fields Returns the number of fields contained in a result set
db2_num_rows Returns the number of rows affected by an SQL statement
db2_pclose Closes a persistent database connection
db2_pconnect Returns a persistent connection to a database
db2_prepare Prepares an SQL statement to be executed
db2_primary_keys Returns a result set listing primary keys for a table
db2_procedures Returns a result set listing the stored procedures registered in a database
db2_procedure_columns Returns a result set listing stored procedure parameters
db2_result Returns a single column from a row in the result set
db2_rollback Rolls back a transaction
db2_server_info Returns an object with properties that describe the DB2 database server
db2_set_option Set options for connection or statement resources
db2_special_columns Returns a result set listing the unique row identifier columns for a table
db2_statistics Returns a result set listing the index and statistics for a table
db2_stmt_error Returns a string containing the SQLSTATE returned by an SQL statement
db2_stmt_errormsg Returns a string containing the last SQL statement error message
db2_tables Returns a result set listing the tables and associated metadata in a database
db2_table_privileges Returns a result set listing the tables and associated privileges in a database
dbase_add_record Adds a record to a database
dbase_close Closes a database
dbase_create Creates a database
dbase_delete_record Deletes a record from a database
dbase_get_header_info Gets the header info of a database
dbase_get_record Gets a record from a database as an indexed array
dbase_get_record_with_names Gets a record from a database as an associative array
dbase_numfields Gets the number of fields of a database
dbase_numrecords Gets the number of records in a database
dbase_open Opens a database
dbase_pack Packs a database
dbase_replace_record Replaces a record in a database
dba_close Close a DBA database
dba_delete Delete DBA entry specified by key
dba_exists Check whether key exists
dba_fetch Fetch data specified by key
dba_firstkey Fetch first key
dba_handlers List all the handlers available
dba_insert Insert entry
dba_key_split Splits a key in string representation into array representation
dba_list List all open database files
dba_nextkey Fetch next key
dba_open Open database
dba_optimize Optimize database
dba_popen Open database persistently
dba_replace Replace or insert entry
dba_sync Synchronize database
dbplus_add Add a tuple to a relation
dbplus_aql Perform AQL query
dbplus_chdir Get/Set database virtual current directory
dbplus_close Close a relation
dbplus_curr Get current tuple from relation
dbplus_errcode Get error string for given errorcode or last error
dbplus_errno Get error code for last operation
dbplus_find Set a constraint on a relation
dbplus_first Get first tuple from relation
dbplus_flush Flush all changes made on a relation
dbplus_freealllocks Free all locks held by this client
dbplus_freelock Release write lock on tuple
dbplus_freerlocks Free all tuple locks on given relation
dbplus_getlock Get a write lock on a tuple
dbplus_getunique Get an id number unique to a relation
dbplus_info Get information about a relation
dbplus_last Get last tuple from relation
dbplus_lockrel Request write lock on relation
dbplus_next Get next tuple from relation
dbplus_open Open relation file
dbplus_prev Get previous tuple from relation
dbplus_rchperm Change relation permissions
dbplus_rcreate Creates a new DB++ relation
dbplus_rcrtexact Creates an exact but empty copy of a relation including indices
dbplus_rcrtlike Creates an empty copy of a relation with default indices
dbplus_resolve Resolve host information for relation
dbplus_restorepos Restore position
dbplus_rkeys Specify new primary key for a relation
dbplus_ropen Open relation file local
dbplus_rquery Perform local (raw) AQL query
dbplus_rrename Rename a relation
dbplus_rsecindex Create a new secondary index for a relation
dbplus_runlink Remove relation from filesystem
dbplus_rzap Remove all tuples from relation
dbplus_savepos Save position
dbplus_setindex Set index
dbplus_setindexbynumber Set index by number
dbplus_sql Perform SQL query
dbplus_tcl Execute TCL code on server side
dbplus_tremove Remove tuple and return new current tuple
dbplus_undo Undo
dbplus_undoprepare Prepare undo
dbplus_unlockrel Give up write lock on relation
dbplus_unselect Remove a constraint from relation
dbplus_update Update specified tuple in relation
dbplus_xlockrel Request exclusive lock on relation
dbplus_xunlockrel Free exclusive lock on relation
dbx_close Close an open connection/database
dbx_compare Compare two rows for sorting purposes
dbx_connect Open a connection/database
dbx_error Report the error message of the latest function call in the module
dbx_escape_string Escape a string so it can safely be used in an sql-statement
dbx_fetch_row Fetches rows from a query-result that had the DBX_RESULT_UNBUFFERED flag set
dbx_query Send a query and fetch all results (if any)
dbx_sort Sort a result from a dbx_query by a custom sort function
dcgettext Overrides the domain for a single lookup
dcngettext Plural version of dcgettext
debug_backtrace 产生一条回溯跟踪(backtrace)
debug_print_backtrace 打印一条回溯。
debug_zval_dump Dumps a string representation of an internal zend value to output
decbin 十进制转换为二进制
dechex 十进制转换为十六进制
decoct 十进制转换为八进制
define 定义一个常量
defined 检查某个名称的常量是否存在
define_syslog_variables Initializes all syslog related variables
deg2rad 将角度转换为弧度
delete 参见 unlink 或 unset
dgettext Override the current domain
die 等同于 exit
dio_close Closes the file descriptor given by fd
dio_fcntl Performs a c library fcntl on fd
dio_open Opens a file (creating it if necessary) at a lower level than the C library input/ouput stream functions allow.
dio_read Reads bytes from a file descriptor
dio_seek Seeks to pos on fd from whence
dio_stat Gets stat information about the file descriptor fd
dio_tcsetattr Sets terminal attributes and baud rate for a serial port
dio_truncate Truncates file descriptor fd to offset bytes
dio_write Writes data to fd with optional truncation at length
dir 返回一个 Directory 类实例
dirname 返回路径中的目录部分
diskfreespace disk_free_space 的别名
disk_free_space 返回目录中的可用空间
disk_total_space 返回一个目录的磁盘总大小
dl 运行时载入一个 PHP 扩展
dngettext Plural version of dgettext
dns_check_record 别名 checkdnsrr
dns_get_mx 别名 getmxrr
dns_get_record 获取指定主机的DNS记录
dom_import_simplexml Gets a DOMElement object from a SimpleXMLElement object
doubleval floatval 的别名

e

函数 说明
each 返回数组中当前的键/值对并将数组指针向前移动一步
easter_date 获得指定年份的复活节午夜时的Unix时间戳。
easter_days 获得指定年份的3月21日到复活节之间的天数
echo 输出一个或多个字符串
eio_busy Artificially increase load. Could be useful in tests, benchmarking.
eio_cancel Cancels a request
eio_chmod Change file/direcrory permissions.
eio_chown Change file/direcrory permissions.
eio_close Close file
eio_custom Execute custom request like any other eio_* call.
eio_dup2 Duplicate a file descriptor
eio_event_loop Polls libeio until all requests proceeded
eio_fallocate Allows the caller to directly manipulate the allocated disk space for a file
eio_fchmod Change file permissions.
eio_fchown Change file ownership
eio_fdatasync Synchronize a file’s in-core state with storage device.
eio_fstat Get file status
eio_fstatvfs Get file system statistics
eio_fsync Synchronize a file’s in-core state with storage device
eio_ftruncate Truncate a file
eio_futime Change file last access and modification times
eio_get_event_stream Get stream representing a variable used in internal communications with libeio.
eio_get_last_error Returns string describing the last error associated with a request resource
eio_grp Createsa request group.
eio_grp_add Adds a request to the request group.
eio_grp_cancel Cancels a request group
eio_grp_limit Set group limit
eio_init (Re-)initialize Eio
eio_link Create a hardlink for file
eio_lstat Get file status
eio_mkdir Create directory
eio_mknod Create a special or ordinary file.
eio_nop Does nothing, except go through the whole request cycle.
eio_npending Returns number of finished, but unhandled requests
eio_nready Returns number of not-yet handled requests
eio_nreqs Returns number of requests to be processed
eio_nthreads Returns number of threads currently in use
eio_open Opens a file
eio_poll Can be to be called whenever there are pending requests that need finishing.
eio_read Read from a file descriptor at given offset.
eio_readahead Perform file readahead into page cache
eio_readdir Reads through a whole directory
eio_readlink Read value of a symbolic link.
eio_realpath Get the canonicalized absolute pathname.
eio_rename Change the name or location of a file.
eio_rmdir Remove a directory
eio_seek Repositions the offset of the open file associated with the fd argument to the argument offset according to the directive whence
eio_sendfile Transfer data between file descriptors
eio_set_max_idle Set maximum number of idle threads.
eio_set_max_parallel Set maximum parallel threads
eio_set_max_poll_reqs Set maximum number of requests processed in a poll.
eio_set_max_poll_time Set maximum poll time
eio_set_min_parallel Set minimum parallel thread number
eio_stat Get file status
eio_statvfs Get file system statistics
eio_symlink Create a symbolic link
eio_sync Commit buffer cache to disk
eio_syncfs Calls Linux’ syncfs syscall, if available
eio_sync_file_range Sync a file segment with disk
eio_truncate Truncate a file
eio_unlink Delete a name and possibly the file it refers to
eio_utime Change file last access and modification times.
eio_write Write to file
empty 检查一个变量是否为空
enchant_broker_describe Enumerates the Enchant providers
enchant_broker_dict_exists Whether a dictionary exists or not. Using non-empty tag
enchant_broker_free Free the broker resource and its dictionnaries
enchant_broker_free_dict Free a dictionary resource
enchant_broker_get_dict_path Get the directory path for a given backend
enchant_broker_get_error Returns the last error of the broker
enchant_broker_init create a new broker object capable of requesting
enchant_broker_list_dicts Returns a list of available dictionaries
enchant_broker_request_dict create a new dictionary using a tag
enchant_broker_request_pwl_dict creates a dictionary using a PWL file
enchant_broker_set_dict_path Set the directory path for a given backend
enchant_broker_set_ordering Declares a preference of dictionaries to use for the language
enchant_dict_add_to_personal add a word to personal word list
enchant_dict_add_to_session add ‘word’ to this spell-checking session
enchant_dict_check Check whether a word is correctly spelled or not
enchant_dict_describe Describes an individual dictionary
enchant_dict_get_error Returns the last error of the current spelling-session
enchant_dict_is_in_session whether or not ‘word’ exists in this spelling-session
enchant_dict_quick_check Check the word is correctly spelled and provide suggestions
enchant_dict_store_replacement Add a correction for a word
enchant_dict_suggest Will return a list of values if any of those pre-conditions are not met
end 将数组的内部指针指向最后一个单元
ereg 正则表达式匹配
eregi 不区分大小写的正则表达式匹配
eregi_replace 不区分大小写的正则表达式替换
ereg_replace 正则表达式替换
error_clear_last Clear the most recent error
error_get_last 获取最后发生的错误
error_log 发送错误信息到某个地方
error_reporting 设置应该报告何种 PHP 错误
escapeshellarg 把字符串转码为能够在 shell 命令里使用的参数
escapeshellcmd shell 元字符转义
eval 把字符串做为PHP代码执行
event_base_free Destroy event base
event_base_loop Handle events
event_base_loopbreak Abort event loop
event_base_loopexit Exit loop after a time
event_base_new Create and initialize new event base
event_base_priority_init Set the number of event priority levels
event_base_reinit Reinitialize the event base after a fork
event_base_set Associate event base with an event
event_buffer_base_set Associate buffered event with an event base
event_buffer_disable Disable a buffered event
event_buffer_enable Enable a buffered event
event_buffer_fd_set Change a buffered event file descriptor
event_buffer_free Destroy buffered event
event_buffer_new Create new buffered event
event_buffer_priority_set Assign a priority to a buffered event
event_buffer_read Read data from a buffered event
event_buffer_set_callback Set or reset callbacks for a buffered event
event_buffer_timeout_set Set read and write timeouts for a buffered event
event_buffer_watermark_set Set the watermarks for read and write events
event_buffer_write Write data to a buffered event
event_new Create new event
event_priority_set Assign a priority to an event.
event_timer_add 别名 event_add
event_timer_del 别名 event_del
event_timer_new 别名 event_new
event_timer_set Prepare a timer event
Examples with PDO_4D Examples PDO_4D
exec 执行一个外部程序
exif_imagetype 判断一个图像的类型
exif_read_data 从 JPEG 或 TIFF 文件中读取 EXIF 头信息
exif_tagname 获取指定索引的头名称
exif_thumbnail 取得嵌入在 TIFF 或 JPEG 图像中的缩略图
exit 输出一个消息而且退出当前脚本
exp 计算 e 的指数
expect_expectl Waits until the output from a process matches one of the patterns, a specified time period has passed, or an EOF is seen
expect_popen Execute command via Bourne shell, and open the PTY stream to the process
explode 使用一个字符串分割另外一个字符串
expm1 返回 exp(number)
extension_loaded 检查一个扩展是否已经加载
extract 从数组中将变量导入到当前的符号表
ezmlm_hash 计算 EZMLM 所需的散列值

f

函数 说明
fam_cancel_monitor Terminate monitoring
fam_close Close FAM connection
fam_monitor_collection Monitor a collection of files in a directory for changes
fam_monitor_directory Monitor a directory for changes
fam_monitor_file Monitor a regular file for changes
fam_next_event Get next pending FAM event
fam_open Open connection to FAM daemon
fam_pending Check for pending FAM events
fam_resume_monitor Resume suspended monitoring
fam_suspend_monitor Temporarily suspend monitoring
fann_cascadetrain_on_data Trains on an entire dataset, for a period of time using the Cascade2 training algorithm
fann_cascadetrain_on_file Trains on an entire dataset read from file, for a period of time using the Cascade2 training algorithm.
fann_clear_scaling_params Clears scaling parameters
fann_copy Creates a copy of a fann structure
fann_create_from_file Constructs a backpropagation neural network from a configuration file
fann_create_shortcut Creates a standard backpropagation neural network which is not fully connectected and has shortcut connections
fann_create_shortcut_array Creates a standard backpropagation neural network which is not fully connectected and has shortcut connections
fann_create_sparse Creates a standard backpropagation neural network, which is not fully connected
fann_create_sparse_array Creates a standard backpropagation neural network, which is not fully connected using an array of layer sizes
fann_create_standard Creates a standard fully connected backpropagation neural network
fann_create_standard_array Creates a standard fully connected backpropagation neural network using an array of layer sizes
fann_create_train Creates an empty training data struct
fann_create_train_from_callback Creates the training data struct from a user supplied function
fann_descale_input Scale data in input vector after get it from ann based on previously calculated parameters
fann_descale_output Scale data in output vector after get it from ann based on previously calculated parameters
fann_descale_train Descale input and output data based on previously calculated parameters
fann_destroy Destroys the entire network and properly freeing all the associated memory
fann_destroy_train Destructs the training data
fann_duplicate_train_data Returns an exact copy of a fann train data
fann_get_activation_function Returns the activation function
fann_get_activation_steepness Returns the activation steepness for supplied neuron and layer number
fann_get_bias_array Get the number of bias in each layer in the network
fann_get_bit_fail The number of fail bits
fann_get_bit_fail_limit Returns the bit fail limit used during training
fann_get_cascade_activation_functions Returns the cascade activation functions
fann_get_cascade_activation_functions_count Returns the number of cascade activation functions
fann_get_cascade_activation_steepnesses Returns the cascade activation steepnesses
fann_get_cascade_activation_steepnesses_count The number of activation steepnesses
fann_get_cascade_candidate_change_fraction Returns the cascade candidate change fraction
fann_get_cascade_candidate_limit Return the candidate limit
fann_get_cascade_candidate_stagnation_epochs Returns the number of cascade candidate stagnation epochs
fann_get_cascade_max_cand_epochs Returns the maximum candidate epochs
fann_get_cascade_max_out_epochs Returns the maximum out epochs
fann_get_cascade_min_cand_epochs Returns the minimum candidate epochs
fann_get_cascade_min_out_epochs Returns the minimum out epochs
fann_get_cascade_num_candidates Returns the number of candidates used during training
fann_get_cascade_num_candidate_groups Returns the number of candidate groups
fann_get_cascade_output_change_fraction Returns the cascade output change fraction
fann_get_cascade_output_stagnation_epochs Returns the number of cascade output stagnation epochs
fann_get_cascade_weight_multiplier Returns the weight multiplier
fann_get_connection_array Get connections in the network
fann_get_connection_rate Get the connection rate used when the network was created
fann_get_errno Returns the last error number
fann_get_errstr Returns the last errstr
fann_get_layer_array Get the number of neurons in each layer in the network
fann_get_learning_momentum Returns the learning momentum
fann_get_learning_rate Returns the learning rate
fann_get_MSE Reads the mean square error from the network
fann_get_network_type Get the type of neural network it was created as
fann_get_num_input Get the number of input neurons
fann_get_num_layers Get the number of layers in the neural network
fann_get_num_output Get the number of output neurons
fann_get_quickprop_decay Returns the decay which is a factor that weights should decrease in each iteration during quickprop training
fann_get_quickprop_mu Returns the mu factor
fann_get_rprop_decrease_factor Returns the increase factor used during RPROP training
fann_get_rprop_delta_max Returns the maximum step-size
fann_get_rprop_delta_min Returns the minimum step-size
fann_get_rprop_delta_zero Returns the initial step-size
fann_get_rprop_increase_factor Returns the increase factor used during RPROP training
fann_get_sarprop_step_error_shift Returns the sarprop step error shift
fann_get_sarprop_step_error_threshold_factor Returns the sarprop step error threshold factor
fann_get_sarprop_temperature Returns the sarprop temperature
fann_get_sarprop_weight_decay_shift Returns the sarprop weight decay shift
fann_get_total_connections Get the total number of connections in the entire network
fann_get_total_neurons Get the total number of neurons in the entire network
fann_get_training_algorithm Returns the training algorithm
fann_get_train_error_function Returns the error function used during training
fann_get_train_stop_function Returns the stop function used during training
fann_init_weights Initialize the weights using Widrow + Nguyen’s algorithm
fann_length_train_data Returns the number of training patterns in the train data
fann_merge_train_data Merges the train data
fann_num_input_train_data Returns the number of inputs in each of the training patterns in the train data
fann_num_output_train_data Returns the number of outputs in each of the training patterns in the train data
fann_print_error Prints the error string
fann_randomize_weights Give each connection a random weight between min_weight and max_weight
fann_read_train_from_file Reads a file that stores training data
fann_reset_errno Resets the last error number
fann_reset_errstr Resets the last error string
fann_reset_MSE Resets the mean square error from the network
fann_run Will run input through the neural network
fann_save Saves the entire network to a configuration file
fann_save_train Save the training structure to a file
fann_scale_input Scale data in input vector before feed it to ann based on previously calculated parameters
fann_scale_input_train_data Scales the inputs in the training data to the specified range
fann_scale_output Scale data in output vector before feed it to ann based on previously calculated parameters
fann_scale_output_train_data Scales the outputs in the training data to the specified range
fann_scale_train Scale input and output data based on previously calculated parameters
fann_scale_train_data Scales the inputs and outputs in the training data to the specified range
fann_set_activation_function Sets the activation function for supplied neuron and layer
fann_set_activation_function_hidden Sets the activation function for all of the hidden layers
fann_set_activation_function_layer Sets the activation function for all the neurons in the supplied layer.
fann_set_activation_function_output Sets the activation function for the output layer
fann_set_activation_steepness Sets the activation steepness for supplied neuron and layer number
fann_set_activation_steepness_hidden Sets the steepness of the activation steepness for all neurons in the all hidden layers
fann_set_activation_steepness_layer Sets the activation steepness for all of the neurons in the supplied layer number
fann_set_activation_steepness_output Sets the steepness of the activation steepness in the output layer
fann_set_bit_fail_limit Set the bit fail limit used during training
fann_set_callback Sets the callback function for use during training
fann_set_cascade_activation_functions Sets the array of cascade candidate activation functions
fann_set_cascade_activation_steepnesses Sets the array of cascade candidate activation steepnesses
fann_set_cascade_candidate_change_fraction Sets the cascade candidate change fraction
fann_set_cascade_candidate_limit Sets the candidate limit
fann_set_cascade_candidate_stagnation_epochs Sets the number of cascade candidate stagnation epochs
fann_set_cascade_max_cand_epochs Sets the max candidate epochs
fann_set_cascade_max_out_epochs Sets the maximum out epochs
fann_set_cascade_min_cand_epochs Sets the min candidate epochs
fann_set_cascade_min_out_epochs Sets the minimum out epochs
fann_set_cascade_num_candidate_groups Sets the number of candidate groups
fann_set_cascade_output_change_fraction Sets the cascade output change fraction
fann_set_cascade_output_stagnation_epochs Sets the number of cascade output stagnation epochs
fann_set_cascade_weight_multiplier Sets the weight multiplier
fann_set_error_log Sets where the errors are logged to
fann_set_input_scaling_params Calculate input scaling parameters for future use based on training data
fann_set_learning_momentum Sets the learning momentum
fann_set_learning_rate Sets the learning rate
fann_set_output_scaling_params Calculate output scaling parameters for future use based on training data
fann_set_quickprop_decay Sets the quickprop decay factor
fann_set_quickprop_mu Sets the quickprop mu factor
fann_set_rprop_decrease_factor Sets the decrease factor used during RPROP training
fann_set_rprop_delta_max Sets the maximum step-size
fann_set_rprop_delta_min Sets the minimum step-size
fann_set_rprop_delta_zero Sets the initial step-size
fann_set_rprop_increase_factor Sets the increase factor used during RPROP training
fann_set_sarprop_step_error_shift Sets the sarprop step error shift
fann_set_sarprop_step_error_threshold_factor Sets the sarprop step error threshold factor
fann_set_sarprop_temperature Sets the sarprop temperature
fann_set_sarprop_weight_decay_shift Sets the sarprop weight decay shift
fann_set_scaling_params Calculate input and output scaling parameters for future use based on training data
fann_set_training_algorithm Sets the training algorithm
fann_set_train_error_function Sets the error function used during training
fann_set_train_stop_function Sets the stop function used during training
fann_set_weight Set a connection in the network
fann_set_weight_array Set connections in the network
fann_shuffle_train_data Shuffles training data, randomizing the order
fann_subset_train_data Returns an copy of a subset of the train data
fann_test Test with a set of inputs, and a set of desired outputs
fann_test_data Test a set of training data and calculates the MSE for the training data
fann_train Train one iteration with a set of inputs, and a set of desired outputs
fann_train_epoch Train one epoch with a set of training data
fann_train_on_data Trains on an entire dataset for a period of time
fann_train_on_file Trains on an entire dataset, which is read from file, for a period of time
fastcgi_finish_request 冲刷(flush)全部响应的数据给客户端
fbsql_affected_rows Get number of affected rows in previous FrontBase operation
fbsql_autocommit Enable or disable autocommit
fbsql_blob_size Get the size of a BLOB
fbsql_change_user Change logged in user of the active connection
fbsql_clob_size Get the size of a CLOB
fbsql_close Close FrontBase connection
fbsql_commit Commits a transaction to the database
fbsql_connect Open a connection to a FrontBase Server
fbsql_create_blob Create a BLOB
fbsql_create_clob Create a CLOB
fbsql_create_db Create a FrontBase database
fbsql_database Get or set the database name used with a connection
fbsql_database_password Sets or retrieves the password for a FrontBase database
fbsql_data_seek Move internal result pointer
fbsql_db_query Send a FrontBase query
fbsql_db_status Get the status for a given database
fbsql_drop_db Drop (delete) a FrontBase database
fbsql_errno Returns the error number from previous operation
fbsql_error Returns the error message from previous operation
fbsql_fetch_array Fetch a result row as an associative array, a numeric array, or both
fbsql_fetch_assoc Fetch a result row as an associative array
fbsql_fetch_field Get column information from a result and return as an object
fbsql_fetch_lengths Get the length of each output in a result
fbsql_fetch_object Fetch a result row as an object
fbsql_fetch_row Get a result row as an enumerated array
fbsql_field_flags Get the flags associated with the specified field in a result
fbsql_field_len Returns the length of the specified field
fbsql_field_name Get the name of the specified field in a result
fbsql_field_seek Set result pointer to a specified field offset
fbsql_field_table Get name of the table the specified field is in
fbsql_field_type Get the type of the specified field in a result
fbsql_free_result Free result memory
fbsql_get_autostart_info 说明
fbsql_hostname Get or set the host name used with a connection
fbsql_insert_id Get the id generated from the previous INSERT operation
fbsql_list_dbs List databases available on a FrontBase server
fbsql_list_fields List FrontBase result fields
fbsql_list_tables List tables in a FrontBase database
fbsql_next_result Move the internal result pointer to the next result
fbsql_num_fields Get number of fields in result
fbsql_num_rows Get number of rows in result
fbsql_password Get or set the user password used with a connection
fbsql_pconnect Open a persistent connection to a FrontBase Server
fbsql_query Send a FrontBase query
fbsql_read_blob Read a BLOB from the database
fbsql_read_clob Read a CLOB from the database
fbsql_result Get result data
fbsql_rollback Rollback a transaction to the database
fbsql_rows_fetched Get the number of rows affected by the last statement
fbsql_select_db Select a FrontBase database
fbsql_set_characterset Change input/output character set
fbsql_set_lob_mode Set the LOB retrieve mode for a FrontBase result set
fbsql_set_password Change the password for a given user
fbsql_set_transaction Set the transaction locking and isolation
fbsql_start_db Start a database on local or remote server
fbsql_stop_db Stop a database on local or remote server
fbsql_tablename 别名 fbsql_table_name
fbsql_table_name Get table name of field
fbsql_username Get or set the username for the connection
fbsql_warnings Enable or disable FrontBase warnings
fclose 关闭一个已打开的文件指针
fdf_add_doc_javascript Adds javascript code to the FDF document
fdf_add_template Adds a template into the FDF document
fdf_close Close an FDF document
fdf_create Create a new FDF document
fdf_enum_values Call a user defined function for each document value
fdf_errno Return error code for last fdf operation
fdf_error Return error description for FDF error code
fdf_get_ap Get the appearance of a field
fdf_get_attachment Extracts uploaded file embedded in the FDF
fdf_get_encoding Get the value of the /Encoding key
fdf_get_file Get the value of the /F key
fdf_get_flags Gets the flags of a field
fdf_get_opt Gets a value from the opt array of a field
fdf_get_status Get the value of the /STATUS key
fdf_get_value Get the value of a field
fdf_get_version Gets version number for FDF API or file
fdf_header Sets FDF-specific output headers
fdf_next_field_name Get the next field name
fdf_open Open a FDF document
fdf_open_string Read a FDF document from a string
fdf_remove_item Sets target frame for form
fdf_save Save a FDF document
fdf_save_string Returns the FDF document as a string
fdf_set_ap Set the appearance of a field
fdf_set_encoding Sets FDF character encoding
fdf_set_file Set PDF document to display FDF data in
fdf_set_flags Sets a flag of a field
fdf_set_javascript_action Sets an javascript action of a field
fdf_set_on_import_javascript Adds javascript code to be executed when Acrobat opens the FDF
fdf_set_opt Sets an option of a field
fdf_set_status Set the value of the /STATUS key
fdf_set_submit_form_action Sets a submit form action of a field
fdf_set_target_frame Set target frame for form display
fdf_set_value Set the value of a field
fdf_set_version Sets version number for a FDF file
feof 测试文件指针是否到了文件结束的位置
fflush 将缓冲内容输出到文件
fgetc 从文件指针中读取字符
fgetcsv 从文件指针中读入一行并解析 CSV 字段
fgets 从文件指针中读取一行
fgetss 从文件指针中读取一行并过滤掉 HTML 标记
file 把整个文件读入一个数组中
fileatime 取得文件的上次访问时间
filectime 取得文件的 inode 修改时间
filegroup 取得文件的组
fileinode 取得文件的 inode
filemtime 取得文件修改时间
fileowner 取得文件的全部者
fileperms 取得文件的权限
filepro Read and verify the map file
filepro_fieldcount Find out how many fields are in a filePro database
filepro_fieldname Gets the name of a field
filepro_fieldtype Gets the type of a field
filepro_fieldwidth Gets the width of a field
filepro_retrieve Retrieves data from a filePro database
filepro_rowcount Find out how many rows are in a filePro database
filesize 取得文件大小
filetype 取得文件类型
file_exists 检查文件或目录是否存在
file_get_contents 将整个文件读入一个字符串
file_put_contents 将一个字符串写入文件
filter_has_var Checks if variable of specified type exists
filter_id 返回与某个特定名称的过滤器相关联的id
filter_input 经过名称获取特定的外部变量,而且能够经过过滤器处理它
filter_input_array 获取一系列外部变量,而且能够经过过滤器处理它们
filter_list 返回所支持的过滤器列表
filter_var 使用特定的过滤器过滤一个变量
filter_var_array 获取多个变量而且过滤它们
finfo_close 关闭 fileinfo 资源
finfo_open 建立一个 fileinfo 资源
floatval 获取变量的浮点值
flock 轻便的咨询文件锁定
floor 舍去法取整
flush 刷新输出缓冲
fmod 返回除法的浮点数余数
fnmatch 用模式匹配文件名
fopen 打开文件或者 URL
forward_static_call Call a static method
forward_static_call_array Call a static method and pass the arguments as array
fpassthru 输出文件指针处的全部剩余数据
fprintf 将格式化后的字符串写入到流
fputcsv 将行格式化为 CSV 并写入文件指针
fputs fwrite 的别名
fread 读取文件(可安全用于二进制文件)
FrenchToJD 从一个French Republican历法的日期获得Julian Day计数。
fribidi_log2vis Convert a logical string to a visual one
fscanf 从文件中格式化输入
fseek 在文件指针中定位
fsockopen 打开一个网络链接或者一个Unix套接字链接
fstat 经过已打开的文件指针取得文件信息
ftell 返回文件指针读/写的位置
ftok Convert a pathname and a project identifier to a System V IPC key
FTP context options FTP context option listing
ftp_alloc 为要上传的文件分配空间
ftp_cdup 切换到当前目录的父目录
ftp_chdir 在 FTP 服务器上改变当前目录
ftp_chmod 设置 FTP 服务器上的文件权限
ftp_close 关闭一个 FTP 链接
ftp_connect 创建一个新的 FTP 链接
ftp_delete 删除 FTP 服务器上的一个文件
ftp_exec 请求运行一条 FTP 命令
ftp_fget 从 FTP 服务器上下载一个文件并保存到本地一个已经打开的文件中
ftp_fput 上传一个已经打开的文件到 FTP 服务器
ftp_get 从 FTP 服务器上下载一个文件
ftp_get_option 返回当前 FTP 链接的各类不一样的选项设置
ftp_login 登陆 FTP 服务器
ftp_mdtm 返回指定文件的最后修改时间
ftp_mkdir 创建新目录
ftp_nb_continue 连续获取/发送文件(non-blocking)
ftp_nb_fget 从 FTP 服务器获取文件并写入到一个打开的文件(非阻塞)
ftp_nb_fput 将文件存储到 FTP 服务器 (非阻塞)
ftp_nb_get 从 FTP 服务器上获取文件并写入本地文件(non-blocking)
ftp_nb_put 存储一个文件至 FTP 服务器(non-blocking)
ftp_nlist 返回给定目录的文件列表
ftp_pasv 返回当前 FTP 被动模式是否打开
ftp_put 上传文件到 FTP 服务器
ftp_pwd 返回当前目录名
ftp_quit ftp_close 的 别名
ftp_raw 向 FTP 服务器发送命令
ftp_rawlist 返回指定目录下文件的详细列表
ftp_rename 更改 FTP 服务器上的文件或目录名
ftp_rmdir 删除 FTP 服务器上的一个目录
ftp_set_option 设置各类 FTP 运行时选项
ftp_site 向服务器发送 SITE 命令
ftp_size 返回指定文件的大小
ftp_ssl_connect 打开 SSL-FTP 链接
ftp_systype 返回远程 FTP 服务器的操做系统类型
ftruncate 将文件截断到给定的长度
function_exists 若是给定的函数已经被定义就返回 TRUE
func_get_arg 返回参数列表的某一项
func_get_args 返回一个包含函数参数列表的数组
func_num_args Returns the number of arguments passed to the function
fwrite 写入文件(可安全用于二进制文件)

g

函数 说明
gc_collect_cycles 强制收集全部现存的垃圾循环周期
gc_disable 停用循环引用收集器
gc_enable 激活循环引用收集器
gc_enabled 返回循环引用计数器的状态
gc_mem_caches Reclaims memory used by the Zend Engine memory manager
gd_info 取得当前安装的 GD 库的信息
geoip_asnum_by_name Get the Autonomous System Numbers (ASN)
geoip_continent_code_by_name Get the two letter continent code
geoip_country_code3_by_name Get the three letter country code
geoip_country_code_by_name Get the two letter country code
geoip_country_name_by_name Get the full country name
geoip_database_info Get GeoIP Database information
geoip_db_avail Determine if GeoIP Database is available
geoip_db_filename Returns the filename of the corresponding GeoIP Database
geoip_db_get_all_info Returns detailed information about all GeoIP database types
geoip_domain_by_name Get the second level domain name
geoip_id_by_name Get the Internet connection type
geoip_isp_by_name Get the Internet Service Provider (ISP) name
geoip_netspeedcell_by_name Get the Internet connection speed
geoip_org_by_name Get the organization name
geoip_record_by_name Returns the detailed City information found in the GeoIP Database
geoip_region_by_name Get the country code and region
geoip_region_name_by_code Returns the region name for some country and region code combo
geoip_setup_custom_directory Set a custom directory for the GeoIP database.
geoip_time_zone_by_country_and_region Returns the time zone for some country and region code combo
getallheaders 获取所有 HTTP 请求头信息
getcwd 取得当前工做目录
getdate 取得日期/时间信息
getenv 获取一个环境变量的值
gethostbyaddr 获取指定的IP地址对应的主机名
gethostbyname Get the IPv4 address corresponding to a given Internet host name
gethostbynamel Get a list of IPv4 addresses corresponding to a given Internet host name
gethostname Gets the host name
getimagesize 取得图像大小
getimagesizefromstring 从字符串中获取图像尺寸信息
getlastmod 获取页面最后修改的时间
getmxrr Get MX records corresponding to a given Internet host name
getmygid 获取当前 PHP 脚本拥有者的 GID
getmyinode 获取当前脚本的索引节点(inode)
getmypid 获取 PHP 进程的 ID
getmyuid 获取 PHP 脚本全部者的 UID
getopt 从命令行参数列表中获取选项
getprotobyname Get protocol number associated with protocol name
getprotobynumber Get protocol name associated with protocol number
getrandmax 显示随机数最大的可能值
getrusage 获取当前资源使用情况
getservbyname Get port number associated with an Internet service and protocol
getservbyport Get Internet service which corresponds to port and protocol
gettext Lookup a message in the current domain
gettimeofday 取得当前时间
gettype 获取变量的类型
get_browser 获取浏览器具备的功能
get_called_class 后期静态绑定(”Late Static Binding”)类的名称
get_cfg_var 获取 PHP 配置选项的值
get_class 返回对象的类名
get_class_methods 返回由类的方法名组成的数组
get_class_vars 返回由类的默认属性组成的数组
get_current_user 获取当前 PHP 脚本全部者名称
get_declared_classes 返回由已定义类的名字所组成的数组
get_declared_interfaces 返回一个数组包含全部已声明的接口
get_declared_traits 返回全部已定义的 traits 的数组
get_defined_constants 返回全部常量的关联数组,键是常量名,值是常量值
get_defined_functions Returns an array of all defined functions
get_defined_vars 返回由全部已定义变量所组成的数组
get_extension_funcs 返回模块函数名称的数组
get_headers 取得服务器响应一个 HTTP 请求所发送的全部标头
get_html_translation_table 返回使用 htmlspecialchars 和 htmlentities 后的转换表
get_included_files 返回被 include 和 require 文件名的 array
get_include_path 获取当前的 include_path 配置选项
get_loaded_extensions 返回全部编译并加载模块名的 array
get_magic_quotes_gpc 获取当前 magic_quotes_gpc 的配置选项设置
get_magic_quotes_runtime 获取当前 magic_quotes_runtime 配置选项的激活状态
get_meta_tags 从一个文件中提取全部的 meta 标签 content 属性,返回一个数组
get_object_vars 返回由对象属性组成的关联数组
get_parent_class 返回对象或类的父类名
get_required_files 别名 get_included_files
get_resources Returns active resources
get_resource_type 返回资源(resource)类型
glob 寻找与模式匹配的文件路径
gmdate 格式化一个 GMT/UTC 日期/时间
gmmktime 取得 GMT 日期的 UNIX 时间戳
gmp_abs Absolute value
gmp_add Add numbers
gmp_and Bitwise AND
gmp_clrbit Clear bit
gmp_cmp Compare numbers
gmp_com Calculates one’s complement
gmp_div 别名 gmp_div_q
gmp_divexact Exact division of numbers
gmp_div_q Divide numbers
gmp_div_qr Divide numbers and get quotient and remainder
gmp_div_r Remainder of the division of numbers
gmp_export Export to a binary string
gmp_fact Factorial
gmp_gcd Calculate GCD
gmp_gcdext Calculate GCD and multipliers
gmp_hamdist Hamming distance
gmp_import Import from a binary string
gmp_init Create GMP number
gmp_intval Convert GMP number to integer
gmp_invert Inverse by modulo
gmp_jacobi Jacobi symbol
gmp_legendre Legendre symbol
gmp_mod Modulo operation
gmp_mul Multiply numbers
gmp_neg Negate number
gmp_nextprime Find next prime number
gmp_or Bitwise OR
gmp_perfect_square Perfect square check
gmp_popcount Population count
gmp_pow Raise number into power
gmp_powm Raise number into power with modulo
gmp_prob_prime Check if number is “probably prime”
gmp_random Random number
gmp_random_bits Random number
gmp_random_range Random number
gmp_random_seed Sets the RNG seed
gmp_root Take the integer part of nth root
gmp_rootrem Take the integer part and remainder of nth root
gmp_scan0 Scan for 0
gmp_scan1 Scan for 1
gmp_setbit Set bit
gmp_sign Sign of number
gmp_sqrt Calculate square root
gmp_sqrtrem Square root with remainder
gmp_strval Convert GMP number to string
gmp_sub Subtract numbers
gmp_testbit Tests if a bit is set
gmp_xor Bitwise XOR
gmstrftime 根据区域设置格式化 GMT/UTC 时间/日期
gnupg_adddecryptkey Add a key for decryption
gnupg_addencryptkey Add a key for encryption
gnupg_addsignkey Add a key for signing
gnupg_cleardecryptkeys Removes all keys which were set for decryption before
gnupg_clearencryptkeys Removes all keys which were set for encryption before
gnupg_clearsignkeys Removes all keys which were set for signing before
gnupg_decrypt Decrypts a given text
gnupg_decryptverify Decrypts and verifies a given text
gnupg_encrypt Encrypts a given text
gnupg_encryptsign Encrypts and signs a given text
gnupg_export Exports a key
gnupg_geterror Returns the errortext, if a function fails
gnupg_getprotocol Returns the currently active protocol for all operations
gnupg_import Imports a key
gnupg_init Initialize a connection
gnupg_keyinfo Returns an array with information about all keys that matches the given pattern
gnupg_setarmor Toggle armored output
gnupg_seterrormode Sets the mode for error_reporting
gnupg_setsignmode Sets the mode for signing
gnupg_sign Signs a given text
gnupg_verify Verifies a signed text
gopher_parsedir Translate a gopher formatted directory entry into an associative array.
grapheme_extract Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8.
grapheme_stripos Find position (in grapheme units) of first occurrence of a case-insensitive string
grapheme_stristr Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack.
grapheme_strlen Get string length in grapheme units
grapheme_strpos Find position (in grapheme units) of first occurrence of a string
grapheme_strripos Find position (in grapheme units) of last occurrence of a case-insensitive string
grapheme_strrpos Find position (in grapheme units) of last occurrence of a string
grapheme_strstr Returns part of haystack string from the first occurrence of needle to the end of haystack.
grapheme_substr Return part of a string
GregorianToJD 转变一个Gregorian历法日期到Julian Day计数
gupnp_context_get_host_ip Get the IP address
gupnp_context_get_port Get the port
gupnp_context_get_subscription_timeout Get the event subscription timeout
gupnp_context_host_path Start hosting
gupnp_context_new Create a new context
gupnp_context_set_subscription_timeout Sets the event subscription timeout
gupnp_context_timeout_add Sets a function to be called at regular intervals
gupnp_context_unhost_path Stop hosting
gupnp_control_point_browse_start Start browsing
gupnp_control_point_browse_stop Stop browsing
gupnp_control_point_callback_set Set control point callback
gupnp_control_point_new Create a new control point
gupnp_device_action_callback_set Set device callback function
gupnp_device_info_get Get info of root device
gupnp_device_info_get_service Get the service with type
gupnp_root_device_get_available Check whether root device is available
gupnp_root_device_get_relative_location Get the relative location of root device.
gupnp_root_device_new Create a new root device
gupnp_root_device_set_available Set whether or not root_device is available
gupnp_root_device_start Start main loop
gupnp_root_device_stop Stop main loop
gupnp_service_action_get Retrieves the specified action arguments
gupnp_service_action_return Return successfully
gupnp_service_action_return_error Return error code
gupnp_service_action_set Sets the specified action return values
gupnp_service_freeze_notify Freeze new notifications
gupnp_service_info_get Get full info of service
gupnp_service_info_get_introspection Get resource introspection of service
gupnp_service_introspection_get_state_variable Returns the state variable data
gupnp_service_notify Notifies listening clients
gupnp_service_proxy_action_get Send action to the service and get value
gupnp_service_proxy_action_set Send action to the service and set value
gupnp_service_proxy_add_notify Sets up callback for variable change notification
gupnp_service_proxy_callback_set Set service proxy callback for signal
gupnp_service_proxy_get_subscribed Check whether subscription is valid to the service
gupnp_service_proxy_remove_notify Cancels the variable change notification
gupnp_service_proxy_send_action Send action with multiple parameters synchronously
gupnp_service_proxy_set_subscribed (Un)subscribes to the service.
gupnp_service_thaw_notify Sends out any pending notifications and stops queuing of new ones.
gzclose Close an open gz-file pointer
gzcompress Compress a string
gzdecode Decodes a gzip compressed string
gzdeflate Deflate a string
gzencode Create a gzip compressed string
gzeof Test for EOF on a gz-file pointer
gzfile Read entire gz-file into an array
gzgetc Get character from gz-file pointer
gzgets Get line from file pointer
gzgetss Get line from gz-file pointer and strip HTML tags
gzinflate Inflate a deflated string
gzopen Open gz-file
gzpassthru Output all remaining data on a gz-file pointer
gzputs 别名 gzwrite
gzread Binary-safe gz-file read
gzrewind Rewind the position of a gz-file pointer
gzseek Seek on a gz-file pointer
gztell Tell gz-file pointer read/write position
gzuncompress Uncompress a compressed string
gzwrite Binary-safe gz-file write

h

函数 说明
hash 生成哈希值 (消息摘要)
hash_algos 返回已注册的哈希算法列表
hash_copy 拷贝哈希运算上下文
hash_equals 可防止时序攻击的字符串比较
hash_file 使用给定文件的内容生成哈希值
hash_final 结束增量哈希,而且返回摘要结果
hash_hmac 使用 HMAC 方法生成带有密钥的哈希值
hash_hmac_file 使用 HMAC 方法和给定文件的内容生成带密钥的哈希值
hash_init 初始化增量哈希运算上下文
hash_pbkdf2 生成所提供密码的 PBKDF2 密钥导出
hash_update 向活跃的哈希运算上下文中填充数据
hash_update_file 从文件向活跃的哈希运算上下文中填充数据
hash_update_stream 从打开的流向活跃的哈希运算上下文中填充数据
header 发送原生 HTTP 头
headers_list Returns a list of response headers sent (or ready to send)
headers_sent Checks if or where headers have been sent
header_register_callback Call a header function
header_remove Remove previously set headers
hebrev 将逻辑顺序希伯来文(logical-Hebrew)转换为视觉顺序希伯来文(visual-Hebrew)
hebrevc 将逻辑顺序希伯来文(logical-Hebrew)转换为视觉顺序希伯来文(visual-Hebrew),而且转换换行符
hex2bin 转换十六进制字符串为二进制字符串
hexdec 十六进制转换为十进制
highlight_file 语法高亮一个文件
highlight_string 字符串的语法高亮
htmlentities Convert all applicable characters to HTML entities
htmlspecialchars Convert special characters to HTML entities
htmlspecialchars_decode 将特殊的 HTML 实体转换回普通字符
html_entity_decode Convert all HTML entities to their applicable characters
HTTP context 选项 HTTP context 的选项列表
http_build_cookie Build cookie string
http_build_query 生成 URL-encode 以后的请求字符串
http_build_str 产生一个查询字符串
http_build_url 产生一个 URL
http_cache_etag Caching by ETag
http_cache_last_modified Caching by last modification
http_chunked_decode Decode chunked-encoded data
http_date Compose HTTP RFC compliant date
http_deflate Deflate data
http_get Perform GET request
http_get_request_body Get request body as string
http_get_request_body_stream Get request body as stream
http_get_request_headers Get request headers as array
http_head Perform HEAD request
http_inflate Inflate data
http_match_etag Match ETag
http_match_modified Match last modification
http_match_request_header Match any header
http_negotiate_charset Negotiate client’s preferred character set
http_negotiate_content_type Negotiate client’s preferred content type
http_negotiate_language Negotiate client’s preferred language
http_parse_cookie Parse HTTP cookie
http_parse_headers Parse HTTP headers
http_parse_message Parse HTTP messages
http_parse_params Parse parameter list
http_persistent_handles_clean Clean up persistent handles
http_persistent_handles_count Stat persistent handles
http_persistent_handles_ident Get/set ident of persistent handles
http_post_data Perform POST request with pre-encoded data
http_post_fields Perform POST request with data to be encoded
http_put_data Perform PUT request with data
http_put_file Perform PUT request with file
http_put_stream Perform PUT request with stream
http_redirect Issue HTTP redirect
http_request Perform custom request
http_request_body_encode Encode request body
http_request_method_exists Check whether request method exists
http_request_method_name Get request method name
http_request_method_register Register request method
http_request_method_unregister Unregister request method
http_response_code Get or Set the HTTP response code
http_send_content_disposition Send Content-Disposition
http_send_content_type Send Content-Type
http_send_data Send arbitrary data
http_send_file Send file
http_send_last_modified Send Last-Modified
http_send_status Send HTTP response status
http_send_stream Send stream
http_support Check built-in HTTP support
http_throttle HTTP throttling
hwapi_attribute_new Creates instance of class hw_api_attribute
hwapi_content_new Create new instance of class hw_api_content
hwapi_hgcsp Returns object of class hw_api
hwapi_object_new Creates a new instance of class hwapi_object_new
hypot 计算一直角三角形的斜边长度

i

函数 说明
ibase_add_user Add a user to a security database
ibase_affected_rows Return the number of rows that were affected by the previous query
ibase_backup Initiates a backup task in the service manager and returns immediately
ibase_blob_add Add data into a newly created blob
ibase_blob_cancel Cancel creating blob
ibase_blob_close Close blob
ibase_blob_create Create a new blob for adding data
ibase_blob_echo Output blob contents to browser
ibase_blob_get Get len bytes data from open blob
ibase_blob_import Create blob, copy file in it, and close it
ibase_blob_info Return blob length and other useful info
ibase_blob_open Open blob for retrieving data parts
ibase_close Close a connection to an InterBase database
ibase_commit Commit a transaction
ibase_commit_ret Commit a transaction without closing it
ibase_connect Open a connection to a database
ibase_db_info Request statistics about a database
ibase_delete_user Delete a user from a security database
ibase_drop_db Drops a database
ibase_errcode Return an error code
ibase_errmsg Return error messages
ibase_execute Execute a previously prepared query
ibase_fetch_assoc Fetch a result row from a query as an associative array
ibase_fetch_object Get an object from a InterBase database
ibase_fetch_row Fetch a row from an InterBase database
ibase_field_info Get information about a field
ibase_free_event_handler Cancels a registered event handler
ibase_free_query Free memory allocated by a prepared query
ibase_free_result Free a result set
ibase_gen_id Increments the named generator and returns its new value
ibase_maintain_db Execute a maintenance command on the database server
ibase_modify_user Modify a user to a security database
ibase_name_result Assigns a name to a result set
ibase_num_fields Get the number of fields in a result set
ibase_num_params Return the number of parameters in a prepared query
ibase_param_info Return information about a parameter in a prepared query
ibase_pconnect Open a persistent connection to an InterBase database
ibase_prepare Prepare a query for later binding of parameter placeholders and execution
ibase_query Execute a query on an InterBase database
ibase_restore Initiates a restore task in the service manager and returns immediately
ibase_rollback Roll back a transaction
ibase_rollback_ret Roll back a transaction without closing it
ibase_server_info Request information about a database server
ibase_service_attach Connect to the service manager
ibase_service_detach Disconnect from the service manager
ibase_set_event_handler Register a callback function to be called when events are posted
ibase_trans Begin a transaction
ibase_wait_event Wait for an event to be posted by the database
iconv 字符串按要求的字符编码来转换
iconv_get_encoding 获取 iconv 扩展的内部配置变量
iconv_mime_decode Decodes a MIME header field
iconv_mime_decode_headers 一次性解码多个 MIME 头字段
iconv_mime_encode Composes a MIME header field
iconv_set_encoding 为字符编码转换设定当前设置
iconv_strlen 返回字符串的字符数统计
iconv_strpos Finds position of first occurrence of a needle within a haystack
iconv_strrpos Finds the last occurrence of a needle within a haystack
iconv_substr 截取字符串的部分
id3_get_frame_long_name Get the long name of an ID3v2 frame
id3_get_frame_short_name Get the short name of an ID3v2 frame
id3_get_genre_id Get the id for a genre
id3_get_genre_list Get all possible genre values
id3_get_genre_name Get the name for a genre id
id3_get_tag Get all information stored in an ID3 tag
id3_get_version Get version of an ID3 tag
id3_remove_tag Remove an existing ID3 tag
id3_set_tag Update information stored in an ID3 tag
idate 将本地时间日期格式化为整数
idn_to_ascii Convert domain name to IDNA ASCII form.
idn_to_unicode 别名 idn_to_utf8
idn_to_utf8 Convert domain name from IDNA ASCII to Unicode.
ifxus_close_slob Deletes the slob object
ifxus_create_slob Creates an slob object and opens it
ifxus_free_slob Deletes the slob object
ifxus_open_slob Opens an slob object
ifxus_read_slob Reads nbytes of the slob object
ifxus_seek_slob Sets the current file or seek position
ifxus_tell_slob Returns the current file or seek position
ifxus_write_slob Writes a string into the slob object
ifx_affected_rows Get number of rows affected by a query
ifx_blobinfile_mode Set the default blob mode for all select queries
ifx_byteasvarchar Set the default byte mode
ifx_close Close Informix connection
ifx_connect Open Informix server connection
ifx_copy_blob Duplicates the given blob object
ifx_create_blob Creates an blob object
ifx_create_char Creates an char object
ifx_do Execute a previously prepared SQL-statement
ifx_error Returns error code of last Informix call
ifx_errormsg Returns error message of last Informix call
ifx_fetch_row Get row as an associative array
ifx_fieldproperties List of SQL fieldproperties
ifx_fieldtypes List of Informix SQL fields
ifx_free_blob Deletes the blob object
ifx_free_char Deletes the char object
ifx_free_result Releases resources for the query
ifx_getsqlca Get the contents of sqlca.sqlerrd[0..5] after a query
ifx_get_blob Return the content of a blob object
ifx_get_char Return the content of the char object
ifx_htmltbl_result Formats all rows of a query into a HTML table
ifx_nullformat Sets the default return value on a fetch row
ifx_num_fields Returns the number of columns in the query
ifx_num_rows Count the rows already fetched from a query
ifx_pconnect Open persistent Informix connection
ifx_prepare Prepare an SQL-statement for execution
ifx_query Send Informix query
ifx_textasvarchar Set the default text mode
ifx_update_blob Updates the content of the blob object
ifx_update_char Updates the content of the char object
ignore_user_abort 设置客户端断开链接时是否中断脚本的执行
iis_add_server Creates a new virtual web server
iis_get_dir_security Gets Directory Security
iis_get_script_map Gets script mapping on a virtual directory for a specific extension
iis_get_server_by_comment Return the instance number associated with the Comment
iis_get_server_by_path Return the instance number associated with the Path
iis_get_server_rights Gets server rights
iis_get_service_state Returns the state for the service defined by ServiceId
iis_remove_server Removes the virtual web server indicated by ServerInstance
iis_set_app_settings Creates application scope for a virtual directory
iis_set_dir_security Sets Directory Security
iis_set_script_map Sets script mapping on a virtual directory
iis_set_server_rights Sets server rights
iis_start_server Starts the virtual web server
iis_start_service Starts the service defined by ServiceId
iis_stop_server Stops the virtual web server
iis_stop_service Stops the service defined by ServiceId
image2wbmp 以 WBMP 格式将图像输出到浏览器或文件
imageaffine 返回通过仿射变换后的图像,剪切区域可选
imageaffinematrixconcat Concat two matrices (as in doing many ops in one go)
imageaffinematrixget Return an image containing the affine tramsformed src image, using an optional clipping area
imagealphablending 设定图像的混色模式
imageantialias 是否使用抗锯齿(antialias)功能
imagearc 画椭圆弧
imagechar 水平地画一个字符
imagecharup 垂直地画一个字符
imagecolorallocate 为一幅图像分配颜色
imagecolorallocatealpha 为一幅图像分配颜色 + alpha
imagecolorat 取得某像素的颜色索引值
imagecolorclosest 取得与指定的颜色最接近的颜色的索引值
imagecolorclosestalpha 取得与指定的颜色加透明度最接近的颜色
imagecolorclosesthwb 取得与给定颜色最接近的色度的黑白色的索引
imagecolordeallocate 取消图像颜色的分配
imagecolorexact 取得指定颜色的索引值
imagecolorexactalpha 取得指定的颜色加透明度的索引值
imagecolormatch 使一个图像中调色板版本的颜色与真彩色版本更能匹配
imagecolorresolve 取得指定颜色的索引值或有可能获得的最接近的替代值
imagecolorresolvealpha 取得指定颜色 + alpha 的索引值或有可能获得的最接近的替代值
imagecolorset 给指定调色板索引设定颜色
imagecolorsforindex 取得某索引的颜色
imagecolorstotal 取得一幅图像的调色板中颜色的数目
imagecolortransparent 将某个颜色定义为透明色
imageconvolution 用系数 div 和 offset 申请一个 3x3 的卷积矩阵
imagecopy 拷贝图像的一部分
imagecopymerge 拷贝并合并图像的一部分
imagecopymergegray 用灰度拷贝并合并图像的一部分
imagecopyresampled 重采样拷贝部分图像并调整大小
imagecopyresized 拷贝部分图像并调整大小
imagecreate 新建一个基于调色板的图像
imagecreatefromgd 从 GD 文件或 URL 新建一图像
imagecreatefromgd2 从 GD2 文件或 URL 新建一图像
imagecreatefromgd2part 从给定的 GD2 文件或 URL 中的部分新建一图像
imagecreatefromgif 由文件或 URL 建立一个新图象。
imagecreatefromjpeg 由文件或 URL 建立一个新图象。
imagecreatefrompng 由文件或 URL 建立一个新图象。
imagecreatefromstring 从字符串中的图像流新建一图像
imagecreatefromwbmp 由文件或 URL 建立一个新图象。
imagecreatefromwebp 由文件或 URL 建立一个新图象。
imagecreatefromxbm 由文件或 URL 建立一个新图象。
imagecreatefromxpm 由文件或 URL 建立一个新图象。
imagecreatetruecolor 新建一个真彩色图像
imagecrop Crop an image using the given coordinates and size, x, y, width and height
imagecropauto Crop an image automatically using one of the available modes
imagedashedline 画一虚线
imagedestroy 销毁一图像
imageellipse 画一个椭圆
imagefill 区域填充
imagefilledarc 画一椭圆弧且填充
imagefilledellipse 画一椭圆并填充
imagefilledpolygon 画一多边形并填充
imagefilledrectangle 画一矩形并填充
imagefilltoborder 区域填充到指定颜色的边界为止
imagefilter 对图像使用过滤器
imageflip Flips an image using a given mode
imagefontheight 取得字体高度
imagefontwidth 取得字体宽度
imageftbbox 给出一个使用 FreeType 2 字体的文本框
imagefttext 使用 FreeType 2 字体将文本写入图像
imagegammacorrect 对 GD 图像应用 gamma 修正
imagegd 将 GD 图像输出到浏览器或文件
imagegd2 将 GD2 图像输出到浏览器或文件
imagegif 输出图象到浏览器或文件。
imagegrabscreen Captures the whole screen
imagegrabwindow Captures a window
imageinterlace 激活或禁止隔行扫描
imageistruecolor 检查图像是否为真彩色图像
imagejpeg 输出图象到浏览器或文件。
imagelayereffect 设定 alpha 混色标志以使用绑定的 libgd 分层效果
imageline 画一条线段
imageloadfont 载入一新字体
imagepalettecopy 将调色板从一幅图像拷贝到另外一幅
imagepalettetotruecolor Converts a palette based image to true color
imagepng 以 PNG 格式将图像输出到浏览器或文件
imagepolygon 画一个多边形
imagepsbbox 给出一个使用 PostScript Type1 字体的文本方框
imagepsencodefont 改变字体中的字符编码矢量
imagepsextendfont 扩充或精简字体
imagepsfreefont 释放一个 PostScript Type 1 字体所占用的内存
imagepsloadfont 从文件中加载一个 PostScript Type 1 字体
imagepsslantfont 倾斜某字体
imagepstext 用 PostScript Type1 字体把文本字符串画在图像上
imagerectangle 画一个矩形
imagerotate 用给定角度旋转图像
imagesavealpha 设置标记以在保存 PNG 图像时保存完整的 alpha 通道信息(与单一透明色相反)
imagescale Scale an image using the given new width and height
imagesetbrush 设定画线用的画笔图像
imagesetinterpolation Set the interpolation method
imagesetpixel 画一个单一像素
imagesetstyle 设定画线的风格
imagesetthickness 设定画线的宽度
imagesettile 设定用于填充的贴图
imagestring 水平地画一行字符串
imagestringup 垂直地画一行字符串
imagesx 取得图像宽度
imagesy 取得图像高度
imagetruecolortopalette 将真彩色图像转换为调色板图像
imagettfbbox 取得使用 TrueType 字体的文本的范围
imagettftext 用 TrueType 字体向图像写入文本
imagetypes 返回当前 PHP 版本所支持的图像类型
imagewbmp 以 WBMP 格式将图像输出到浏览器或文件
imagewebp 将 WebP 格式的图像输出到浏览器或文件
imagexbm 将 XBM 图像输出到浏览器或文件
image_type_to_extension 取得图像类型的文件后缀
image_type_to_mime_type 取得 getimagesize,exif_read_data,exif_thumbnail,exif_imagetype 所返回的图像类型的 MIME 类型
imap_8bit Convert an 8bit string to a quoted-printable string
imap_alerts Returns all IMAP alert messages that have occurred
imap_append Append a string message to a specified mailbox
imap_base64 Decode BASE64 encoded text
imap_binary Convert an 8bit string to a base64 string
imap_body Read the message body
imap_bodystruct Read the structure of a specified body section of a specific message
imap_check Check current mailbox
imap_clearflag_full Clears flags on messages
imap_close Close an IMAP stream
imap_create 别名 imap_createmailbox
imap_createmailbox Create a new mailbox
imap_delete Mark a message for deletion from current mailbox
imap_deletemailbox Delete a mailbox
imap_errors Returns all of the IMAP errors that have occurred
imap_expunge Delete all messages marked for deletion
imap_fetchbody Fetch a particular section of the body of the message
imap_fetchheader Returns header for a message
imap_fetchmime Fetch MIME headers for a particular section of the message
imap_fetchstructure Read the structure of a particular message
imap_fetchtext 别名 imap_body
imap_fetch_overview Read an overview of the information in the headers of the given message
imap_gc Clears IMAP cache
imap_getacl Gets the ACL for a given mailbox
imap_getmailboxes Read the list of mailboxes, returning detailed information on each one
imap_getsubscribed List all the subscribed mailboxes
imap_get_quota Retrieve the quota level settings, and usage statics per mailbox
imap_get_quotaroot Retrieve the quota settings per user
imap_header 别名 imap_headerinfo
imap_headerinfo Read the header of the message
imap_headers Returns headers for all messages in a mailbox
imap_last_error Gets the last IMAP error that occurred during this page request
imap_list Read the list of mailboxes
imap_listmailbox 别名 imap_list
imap_listscan Returns the list of mailboxes that matches the given text
imap_listsubscribed 别名 imap_lsub
imap_lsub List all the subscribed mailboxes
imap_mail Send an email message
imap_mailboxmsginfo Get information about the current mailbox
imap_mail_compose Create a MIME message based on given envelope and body sections
imap_mail_copy Copy specified messages to a mailbox
imap_mail_move Move specified messages to a mailbox
imap_mime_header_decode Decode MIME header elements
imap_msgno Gets the message sequence number for the given UID
imap_num_msg Gets the number of messages in the current mailbox
imap_num_recent Gets the number of recent messages in current mailbox
imap_open Open an IMAP stream to a mailbox
imap_ping Check if the IMAP stream is still active
imap_qprint Convert a quoted-printable string to an 8 bit string
imap_rename 别名 imap_renamemailbox
imap_renamemailbox Rename an old mailbox to new mailbox
imap_reopen Reopen IMAP stream to new mailbox
imap_rfc822_parse_adrlist Parses an address string
imap_rfc822_parse_headers Parse mail headers from a string
imap_rfc822_write_address Returns a properly formatted email address given the mailbox, host, and personal info
imap_savebody Save a specific body section to a file
imap_scan 别名 imap_listscan
imap_scanmailbox 别名 imap_listscan
imap_search This function returns an array of messages matching the given search criteria
imap_setacl Sets the ACL for a given mailbox
imap_setflag_full Sets flags on messages
imap_set_quota Sets a quota for a given mailbox
imap_sort Gets and sort messages
imap_status Returns status information on a mailbox
imap_subscribe Subscribe to a mailbox
imap_thread Returns a tree of threaded message
imap_timeout Set or fetch imap timeout
imap_uid This function returns the UID for the given message sequence number
imap_undelete Unmark the message which is marked deleted
imap_unsubscribe Unsubscribe from a mailbox
imap_utf7_decode Decodes a modified UTF-7 encoded string
imap_utf7_encode Converts ISO-8859-1 string to modified UTF-7 text
imap_utf8 Converts MIME-encoded text to UTF-8
implode 将一个一维数组的值转化为字符串
import_request_variables 将 GET/POST/Cookie 变量导入到全局做用域中
inclued_get_data Get the inclued data
inet_ntop Converts a packed internet address to a human readable representation
inet_pton Converts a human readable IP address to its packed in_addr representation
ingres_autocommit Switch autocommit on or off
ingres_autocommit_state Test if the connection is using autocommit
ingres_charset Returns the installation character set
ingres_close Close an Ingres database connection
ingres_commit Commit a transaction
ingres_connect Open a connection to an Ingres database
ingres_cursor Get a cursor name for a given result resource
ingres_errno Get the last Ingres error number generated
ingres_error Get a meaningful error message for the last error generated
ingres_errsqlstate Get the last SQLSTATE error code generated
ingres_escape_string Escape special characters for use in a query
ingres_execute Execute a prepared query
ingres_fetch_array Fetch a row of result into an array
ingres_fetch_assoc Fetch a row of result into an associative array
ingres_fetch_object Fetch a row of result into an object
ingres_fetch_proc_return Get the return value from a procedure call
ingres_fetch_row Fetch a row of result into an enumerated array
ingres_field_length Get the length of a field
ingres_field_name Get the name of a field in a query result
ingres_field_nullable Test if a field is nullable
ingres_field_precision Get the precision of a field
ingres_field_scale Get the scale of a field
ingres_field_type Get the type of a field in a query result
ingres_free_result Free the resources associated with a result identifier
ingres_next_error Get the next Ingres error
ingres_num_fields Get the number of fields returned by the last query
ingres_num_rows Get the number of rows affected or returned by a query
ingres_pconnect Open a persistent connection to an Ingres database
ingres_prepare Prepare a query for later execution
ingres_query Send an SQL query to Ingres
ingres_result_seek Set the row position before fetching data
ingres_rollback Roll back a transaction
ingres_set_environment Set environment features controlling output options
ingres_unbuffered_query Send an unbuffered SQL query to Ingres
ini_alter 别名 ini_set
ini_get 获取一个配置选项的值
ini_get_all 获取全部配置选项
ini_restore 恢复配置选项的值
ini_set 为一个配置选项设置值
inotify_add_watch Add a watch to an initialized inotify instance
inotify_init Initialize an inotify instance
inotify_queue_len Return a number upper than zero if there are pending events
inotify_read Read events from an inotify instance
inotify_rm_watch Remove an existing watch from an inotify instance
intdiv Integer division
interface_exists 检查接口是否已被定义
intl_error_name Get symbolic name for a given error code
intl_get_error_code Get the last error code
intl_get_error_message Get description of the last error
intl_is_failure Check whether the given error code indicates failure
intval 获取变量的整数值
in_array 检查数组中是否存在某个值
ip2long 将一个IPV4的字符串互联网协议转换成数字格式
iptcembed 将二进制 IPTC 数据嵌入到一幅 JPEG 图像中
iptcparse 将二进制 IPTC 块解析为单个标记
isset 检测变量是否设置
is_a 若是对象属于该类或该类是此对象的父类则返回 TRUE
is_array 检测变量是不是数组
is_bool 检测变量是不是布尔型
is_callable 检测参数是否为合法的可调用结构
is_dir 判断给定文件名是不是一个目录
is_double is_float 的别名
is_executable 判断给定文件名是否可执行
is_file 判断给定文件名是否为一个正常的文件
is_finite 判断是否为有限值
is_float 检测变量是不是浮点型
is_infinite 判断是否为无限值
is_int 检测变量是不是整数
is_integer is_int 的别名
is_link 判断给定文件名是否为一个符号链接
is_long is_int 的别名
is_nan 判断是否为合法数值
is_null 检测变量是否为 NULL
is_numeric 检测变量是否为数字或数字字符串
is_object 检测变量是不是一个对象
is_readable 判断给定文件名是否可读
is_real is_float 的别名
is_resource 检测变量是否为资源类型
is_scalar 检测变量是不是一个标量
is_soap_fault Checks if a SOAP call has failed
is_string 检测变量是不是字符串
is_subclass_of 若是此对象是该类的子类,则返回 TRUE
is_tainted Checks whether a string is tainted
is_uploaded_file 判断文件是不是经过 HTTP POST 上传的
is_writable 判断给定的文件名是否可写
is_writeable is_writable 的别名
iterator_apply 为迭代器中每一个元素调用一个用户自定义函数
iterator_count 计算迭代器中元素的个数
iterator_to_array 将迭代器中的元素拷贝到数组

j

函数 说明
JDDayOfWeek 返回星期的日期
JDMonthName 返回月份的名称
JDToFrench 转变一个Julian Day计数到French Republican历法的日期
JDToGregorian 转变一个Julian Day计数为Gregorian历法日期
jdtojewish 转换一个julian天数为Jewish历法的日期
JDToJulian 转变一个Julian Day计数到Julian历法的日期
jdtounix 转变Julian Day计数为一个Unix时间戳
JewishToJD 转变一个Jewish历法的日期为一个Julian Day计数
join 别名 implode
jpeg2wbmp 将 JPEG 图像文件转换为 WBMP 图像文件
json_decode 对 JSON 格式的字符串进行编码
json_encode 对变量进行 JSON 编码
json_last_error 返回最后发生的错误
json_last_error_msg Returns the error string of the last json_encode() or json_decode() call
judy_type Return the type of a Judy array
judy_version Return or print the current PHP Judy version
JulianToJD 转变一个Julian历法的日期为Julian Day计数

k

函数 说明
kadm5_chpass_principal Changes the principal’s password
kadm5_create_principal Creates a kerberos principal with the given parameters
kadm5_delete_principal Deletes a kerberos principal
kadm5_destroy Closes the connection to the admin server and releases all related resources
kadm5_flush Flush all changes to the Kerberos database
kadm5_get_policies Gets all policies from the Kerberos database
kadm5_get_principal Gets the principal’s entries from the Kerberos database
kadm5_get_principals Gets all principals from the Kerberos database
kadm5_init_with_password Opens a connection to the KADM5 library
kadm5_modify_principal Modifies a kerberos principal with the given parameters
key 从关联数组中取得键名
key_exists 别名 array_key_exists
krsort 对数组按照键名逆向排序
ksort 对数组按照键名排序

l

函数 说明
lcfirst 使一个字符串的第一个字符小写
lcg_value 组合线性同余发生器
lchgrp Changes group ownership of symlink
lchown Changes user ownership of symlink
ldap_8859_to_t61 Translate 8859 characters to t61 characters
ldap_add Add entries to LDAP directory
ldap_bind 绑定 LDAP 目录
ldap_close 别名 ldap_unbind
ldap_compare Compare value of attribute found in entry specified with DN
ldap_connect Connect to an LDAP server
ldap_control_paged_result Send LDAP pagination control
ldap_control_paged_result_response Retrieve the LDAP pagination cookie
ldap_count_entries Count the number of entries in a search
ldap_delete Delete an entry from a directory
ldap_dn2ufn Convert DN to User Friendly Naming format
ldap_err2str Convert LDAP error number into string error message
ldap_errno Return the LDAP error number of the last LDAP command
ldap_error Return the LDAP error message of the last LDAP command
ldap_escape Escape a string for use in an LDAP filter or DN
ldap_explode_dn Splits DN into its component parts
ldap_first_attribute Return first attribute
ldap_first_entry Return first result id
ldap_first_reference Return first reference
ldap_free_result Free result memory
ldap_get_attributes Get attributes from a search result entry
ldap_get_dn Get the DN of a result entry
ldap_get_entries Get all result entries
ldap_get_option Get the current value for given option
ldap_get_values Get all values from a result entry
ldap_get_values_len Get all binary values from a result entry
ldap_list Single-level search
ldap_modify Modify an LDAP entry
ldap_modify_batch Batch and execute modifications on an LDAP entry
ldap_mod_add Add attribute values to current attributes
ldap_mod_del Delete attribute values from current attributes
ldap_mod_replace Replace attribute values with new ones
ldap_next_attribute Get the next attribute in result
ldap_next_entry Get next result entry
ldap_next_reference Get next reference
ldap_parse_reference Extract information from reference entry
ldap_parse_result Extract information from result
ldap_read Read an entry
ldap_rename Modify the name of an entry
ldap_sasl_bind Bind to LDAP directory using SASL
ldap_search Search LDAP tree
ldap_set_option Set the value of the given option
ldap_set_rebind_proc Set a callback function to do re-binds on referral chasing
ldap_sort Sort LDAP result entries
ldap_start_tls Start TLS
ldap_t61_to_8859 Translate t61 characters to 8859 characters
ldap_unbind Unbind from LDAP directory
levenshtein 计算两个字符串之间的编辑距离
libxml_clear_errors Clear libxml error buffer
libxml_disable_entity_loader Disable the ability to load external entities
libxml_get_errors Retrieve array of errors
libxml_get_last_error Retrieve last error from libxml
libxml_set_external_entity_loader Changes the default external entity loader
libxml_set_streams_context Set the streams context for the next libxml document load or write
libxml_use_internal_errors Disable libxml errors and allow user to fetch error information as needed
link 创建一个硬链接
linkinfo 获取一个链接的信息
list 把数组中的值赋给一些变量
localeconv Get numeric formatting information
localtime 取得本地时间
log 天然对数
log1p 返回 log(1 + number),甚至当 number 的值接近零也能计算出准确结果
log10 以 10 为底的对数
long2ip Converts an long integer address into a string in (IPv4) Internet standard dotted format
lstat 给出一个文件或符号链接的信息
ltrim 删除字符串开头的空白字符(或其余字符)
lzf_compress LZF compression
lzf_decompress LZF decompression
lzf_optimized_for Determines what LZF extension was optimized for

m

函数 说明
magic_quotes_runtime 别名 set_magic_quotes_runtime
mail 发送邮件
mailparse_determine_best_xfer_encoding Gets the best way of encoding
mailparse_msg_create Create a mime mail resource
mailparse_msg_extract_part Extracts/decodes a message section
mailparse_msg_extract_part_file Extracts/decodes a message section
mailparse_msg_extract_whole_part_file Extracts a message section including headers without decoding the transfer encoding
mailparse_msg_free Frees a MIME resource
mailparse_msg_get_part Returns a handle on a given section in a mimemessage
mailparse_msg_get_part_data Returns an associative array of info about the message
mailparse_msg_get_structure Returns an array of mime section names in the supplied message
mailparse_msg_parse Incrementally parse data into buffer
mailparse_msg_parse_file Parses a file
mailparse_rfc822_parse_addresses Parse RFC 822 compliant addresses
mailparse_stream_encode Streams data from source file pointer, apply encoding and write to destfp
mailparse_uudecode_all Scans the data from fp and extract each embedded uuencoded file
main 虚拟的main
max 找出最大值
maxdb_affected_rows Gets the number of affected rows in a previous MaxDB operation
maxdb_autocommit Turns on or off auto-commiting database modifications
maxdb_bind_param 别名 maxdb_stmt_bind_param
maxdb_bind_result 别名 maxdb_stmt_bind_result
maxdb_change_user Changes the user of the specified database connection
maxdb_character_set_name Returns the default character set for the database connection
maxdb_client_encoding 别名 maxdb_character_set_name
maxdb_close Closes a previously opened database connection
maxdb_close_long_data 别名 maxdb_stmt_close_long_data
maxdb_commit Commits the current transaction
maxdb_connect Open a new connection to the MaxDB server
maxdb_connect_errno Returns the error code from last connect call
maxdb_connect_error Returns a string description of the last connect error
maxdb_data_seek Adjusts the result pointer to an arbitary row in the result
maxdb_debug Performs debugging operations
maxdb_disable_reads_from_master Disable reads from master
maxdb_disable_rpl_parse Disable RPL parse
maxdb_dump_debug_info Dump debugging information into the log
maxdb_embedded_connect Open a connection to an embedded MaxDB server
maxdb_enable_reads_from_master Enable reads from master
maxdb_enable_rpl_parse Enable RPL parse
maxdb_errno Returns the error code for the most recent function call
maxdb_error Returns a string description of the last error
maxdb_escape_string 别名 maxdb_real_escape_string
maxdb_execute 别名 maxdb_stmt_execute
maxdb_fetch 别名 maxdb_stmt_fetch
maxdb_fetch_array Fetch a result row as an associative, a numeric array, or both
maxdb_fetch_assoc Fetch a result row as an associative array
maxdb_fetch_field Returns the next field in the result set
maxdb_fetch_fields Returns an array of resources representing the fields in a result set
maxdb_fetch_field_direct Fetch meta-data for a single field
maxdb_fetch_lengths Returns the lengths of the columns of the current row in the result set
maxdb_fetch_object Returns the current row of a result set as an object
maxdb_fetch_row Get a result row as an enumerated array
maxdb_field_count Returns the number of columns for the most recent query
maxdb_field_seek Set result pointer to a specified field offset
maxdb_field_tell Get current field offset of a result pointer
maxdb_free_result Frees the memory associated with a result
maxdb_get_client_info Returns the MaxDB client version as a string
maxdb_get_client_version Get MaxDB client info
maxdb_get_host_info Returns a string representing the type of connection used
maxdb_get_metadata 别名 maxdb_stmt_result_metadata
maxdb_get_proto_info Returns the version of the MaxDB protocol used
maxdb_get_server_info Returns the version of the MaxDB server
maxdb_get_server_version Returns the version of the MaxDB server as an integer
maxdb_info Retrieves information about the most recently executed query
maxdb_init Initializes MaxDB and returns an resource for use with maxdb_real_connect
maxdb_insert_id Returns the auto generated id used in the last query
maxdb_kill Disconnects from a MaxDB server
maxdb_master_query Enforce execution of a query on the master in a master/slave setup
maxdb_more_results Check if there any more query results from a multi query
maxdb_multi_query Performs a query on the database
maxdb_next_result Prepare next result from multi_query
maxdb_num_fields Get the number of fields in a result
maxdb_num_rows Gets the number of rows in a result
maxdb_options Set options
maxdb_param_count 别名 maxdb_stmt_param_count
maxdb_ping Pings a server connection, or tries to reconnect if the connection has gone down
maxdb_prepare Prepare an SQL statement for execution
maxdb_query Performs a query on the database
maxdb_real_connect Opens a connection to a MaxDB server
maxdb_real_escape_string Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection
maxdb_real_query Execute an SQL query
maxdb_report Enables or disables internal report functions
maxdb_rollback Rolls back current transaction
maxdb_rpl_parse_enabled Check if RPL parse is enabled
maxdb_rpl_probe RPL probe
maxdb_rpl_query_type Returns RPL query type
maxdb_select_db Selects the default database for database queries
maxdb_send_long_data 别名 maxdb_stmt_send_long_data
maxdb_send_query Send the query and return
maxdb_server_end Shut down the embedded server
maxdb_server_init Initialize embedded server
maxdb_set_opt 别名 maxdb_options
maxdb_sqlstate Returns the SQLSTATE error from previous MaxDB operation
maxdb_ssl_set Used for establishing secure connections using SSL
maxdb_stat Gets the current system status
maxdb_stmt_affected_rows Returns the total number of rows changed, deleted, or inserted by the last executed statement
maxdb_stmt_bind_param Binds variables to a prepared statement as parameters
maxdb_stmt_bind_result Binds variables to a prepared statement for result storage
maxdb_stmt_close Closes a prepared statement
maxdb_stmt_close_long_data Ends a sequence of maxdb_stmt_send_long_data
maxdb_stmt_data_seek Seeks to an arbitray row in statement result set
maxdb_stmt_errno Returns the error code for the most recent statement call
maxdb_stmt_error Returns a string description for last statement error
maxdb_stmt_execute Executes a prepared Query
maxdb_stmt_fetch Fetch results from a prepared statement into the bound variables
maxdb_stmt_free_result Frees stored result memory for the given statement handle
maxdb_stmt_init Initializes a statement and returns an resource for use with maxdb_stmt_prepare
maxdb_stmt_num_rows Return the number of rows in statements result set
maxdb_stmt_param_count Returns the number of parameter for the given statement
maxdb_stmt_prepare Prepare an SQL statement for execution
maxdb_stmt_reset Resets a prepared statement
maxdb_stmt_result_metadata Returns result set metadata from a prepared statement
maxdb_stmt_send_long_data Send data in blocks
maxdb_stmt_sqlstate Returns SQLSTATE error from previous statement operation
maxdb_stmt_store_result Transfers a result set from a prepared statement
maxdb_store_result Transfers a result set from the last query
maxdb_thread_id Returns the thread ID for the current connection
maxdb_thread_safe Returns whether thread safety is given or not
maxdb_use_result Initiate a result set retrieval
maxdb_warning_count Returns the number of warnings from the last query for the given link
mb_check_encoding 检查字符串在指定的编码里是否有效
mb_convert_case 对字符串进行大小写转换
mb_convert_encoding 转换字符的编码
mb_convert_kana Convert “kana” one from another (“zen-kaku”, “han-kaku” and more)
mb_convert_variables 转换一个或多个变量的字符编码
mb_decode_mimeheader 解码 MIME 头字段中的字符串
mb_decode_numericentity 根据 HTML 数字字符串解码成字符
mb_detect_encoding 检测字符的编码
mb_detect_order 设置/获取 字符编码的检测顺序
mb_encode_mimeheader 为 MIME 头编码字符串
mb_encode_numericentity Encode character to HTML numeric string reference
mb_encoding_aliases Get aliases of a known encoding type
mb_ereg Regular expression match with multibyte support
mb_eregi Regular expression match ignoring case with multibyte support
mb_eregi_replace Replace regular expression with multibyte support ignoring case
mb_ereg_match Regular expression match for multibyte string
mb_ereg_replace Replace regular expression with multibyte support
mb_ereg_replace_callback Perform a regular expresssion seach and replace with multibyte support using a callback
mb_ereg_search Multibyte regular expression match for predefined multibyte string
mb_ereg_search_getpos Returns start point for next regular expression match
mb_ereg_search_getregs Retrieve the result from the last multibyte regular expression match
mb_ereg_search_init Setup string and regular expression for a multibyte regular expression match
mb_ereg_search_pos Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string
mb_ereg_search_regs Returns the matched part of a multibyte regular expression
mb_ereg_search_setpos Set start point of next regular expression match
mb_get_info 获取 mbstring 的内部设置
mb_http_input 检测 HTTP 输入字符编码
mb_http_output 设置/获取 HTTP 输出字符编码
mb_internal_encoding 设置/获取内部字符编码
mb_language 设置/获取当前的语言
mb_list_encodings 返回全部支持编码的数组
mb_output_handler 在输出缓冲中转换字符编码的回调函数
mb_parse_str 解析 GET/POST/COOKIE 数据并设置全局变量
mb_preferred_mime_name 获取 MIME 字符串
mb_regex_encoding Set/Get character encoding for multibyte regex
mb_regex_set_options Set/Get the default options for mbregex functions
mb_send_mail 发送编码过的邮件
mb_split 使用正则表达式分割多字节字符串
mb_strcut 获取字符的一部分
mb_strimwidth 获取按指定宽度截断的字符串
mb_stripos 大小写不敏感地查找字符串在另外一个字符串中首次出现的位置
mb_stristr 大小写不敏感地查找字符串在另外一个字符串里的首次出现
mb_strlen 获取字符串的长度
mb_strpos 查找字符串在另外一个字符串中首次出现的位置
mb_strrchr 查找指定字符在另外一个字符串中最后一次的出现
mb_strrichr 大小写不敏感地查找指定字符在另外一个字符串中最后一次的出现
mb_strripos 大小写不敏感地在字符串中查找一个字符串最后出现的位置
mb_strrpos 查找字符串在一个字符串中最后出现的位置
mb_strstr 查找字符串在另外一个字符串里的首次出现
mb_strtolower 使字符串小写
mb_strtoupper 使字符串大写
mb_strwidth 返回字符串的宽度
mb_substitute_character 设置/获取替代字符
mb_substr 获取字符串的部分
mb_substr_count 统计字符串出现的次数
mcrypt_cbc 以 CBC 模式加解密数据
mcrypt_cfb 以 CFB 模式加解密数据
mcrypt_create_iv 从随机源建立初始向量
mcrypt_decrypt 使用给定参数解密密文
mcrypt_ecb 已废弃:使用 ECB 模式加解密数据
mcrypt_encrypt 使用给定参数加密明文
mcrypt_enc_get_algorithms_name 返回打开的算法名称
mcrypt_enc_get_block_size 返回打开的算法的分组大小
mcrypt_enc_get_iv_size 返回打开的算法的初始向量大小
mcrypt_enc_get_key_size 返回打开的模式所能支持的最长密钥
mcrypt_enc_get_modes_name 返回打开的模式的名称
mcrypt_enc_get_supported_key_sizes 以数组方式返回打开的算法所支持的密钥长度
mcrypt_enc_is_block_algorithm 检测打开模式的算法是否为分组算法
mcrypt_enc_is_block_algorithm_mode 检测打开的模式是否支持分组加密
mcrypt_enc_is_block_mode 检测打开的模式是否以分组方式输出
mcrypt_enc_self_test 在打开的模块上进行自检
mcrypt_generic 加密数据
mcrypt_generic_deinit 对加密模块进行清理工做
mcrypt_generic_end 终止加密
mcrypt_generic_init 初始化加密所需的缓冲区
mcrypt_get_block_size 得到加密算法的分组大小
mcrypt_get_cipher_name 获取加密算法名称
mcrypt_get_iv_size 返回指定算法/模式组合的初始向量大小
mcrypt_get_key_size 获取指定加密算法的密钥大小
mcrypt_list_algorithms 获取支持的加密算法
mcrypt_list_modes 获取所支持的模式
mcrypt_module_close 关闭加密模块
mcrypt_module_get_algo_block_size 返回指定算法的分组大小
mcrypt_module_get_algo_key_size 获取打开模式所支持的最大密钥大小
mcrypt_module_get_supported_key_sizes 以数组形式返回打开的算法所支持的密钥大小
mcrypt_module_is_block_algorithm 检测指定算法是否为分组加密算法
mcrypt_module_is_block_algorithm_mode 返回指定模块是不是分组加密模式
mcrypt_module_is_block_mode 检测指定模式是否以分组方式输出
mcrypt_module_open 打开算法和模式对应的模块
mcrypt_module_self_test 在指定模块上执行自检
mcrypt_ofb 使用 OFB 模式加密/解密数据
md5 计算字符串的 MD5 散列值
md5_file 计算指定文件的 MD5 散列值
mdecrypt_generic 解密数据
memcache_debug 转换调试输出的开/关
memory_get_peak_usage 返回分配给 PHP 内存的峰值
memory_get_usage 返回分配给 PHP 的内存量
metaphone Calculate the metaphone key of a string
method_exists 检查类的方法是否存在
mhash Computes hash
mhash_count Gets the highest available hash ID
mhash_get_block_size Gets the block size of the specified hash
mhash_get_hash_name Gets the name of the specified hash
mhash_keygen_s2k Generates a key
microtime 返回当前 Unix 时间戳和微秒数
mime_content_type 检测文件的 MIME 类型(已废弃)
min 找出最小值
ming_keypress Returns the action flag for keyPress(char)
ming_setcubicthreshold Set cubic threshold
ming_setscale Set the global scaling factor.
ming_setswfcompression Sets the SWF output compression
ming_useconstants Use constant pool
ming_useswfversion Sets the SWF version
mkdir 新建目录
mktime 取得一个日期的 Unix 时间戳
money_format Formats a number as a currency string
MongoDB context options MongoDB context option listing
MongoDB\BSON\fromJSON Returns the BSON representation of a JSON value
MongoDB\BSON\fromPHP Returns the BSON representation of a PHP value
MongoDB\BSON\toJSON Returns the JSON representation of a BSON value
MongoDB\BSON\toPHP Returns the PHP representation of a BSON value
move_uploaded_file 将上传的文件移动到新位置
mqseries_back MQSeries MQBACK
mqseries_begin MQseries MQBEGIN
mqseries_close MQSeries MQCLOSE
mqseries_cmit MQSeries MQCMIT
mqseries_conn MQSeries MQCONN
mqseries_connx MQSeries MQCONNX
mqseries_disc MQSeries MQDISC
mqseries_get MQSeries MQGET
mqseries_inq MQSeries MQINQ
mqseries_open MQSeries MQOPEN
mqseries_put MQSeries MQPUT
mqseries_put1 MQSeries MQPUT1
mqseries_set MQSeries MQSET
mqseries_strerror Returns the error message corresponding to a result code (MQRC).
msession_connect Connect to msession server
msession_count Get session count
msession_create Create a session
msession_destroy Destroy a session
msession_disconnect Close connection to msession server
msession_find Find all sessions with name and value
msession_get Get value from session
msession_get_array Get array of msession variables
msession_get_data Get data session unstructured data
msession_inc Increment value in session
msession_list List all sessions
msession_listvar List sessions with variable
msession_lock Lock a session
msession_plugin Call an escape function within the msession personality plugin
msession_randstr Get random string
msession_set Set value in session
msession_set_array Set msession variables from an array
msession_set_data Set data session unstructured data
msession_timeout Set/get session timeout
msession_uniq Get unique id
msession_unlock Unlock a session
msg_get_queue Create or attach to a message queue
msg_queue_exists Check whether a message queue exists
msg_receive Receive a message from a message queue
msg_remove_queue Destroy a message queue
msg_send Send a message to a message queue
msg_set_queue Set information in the message queue data structure
msg_stat_queue Returns information from the message queue data structure
msql Alias of msql_db_query
msql_affected_rows Returns number of affected rows
msql_close Close mSQL connection
msql_connect Open mSQL connection
msql_createdb 别名 msql_create_db
msql_create_db Create mSQL database
msql_data_seek Move internal row pointer
msql_dbname 别名 msql_result
msql_db_query Send mSQL query
msql_drop_db Drop (delete) mSQL database
msql_error Returns error message of last msql call
msql_fetch_array Fetch row as array
msql_fetch_field Get field information
msql_fetch_object Fetch row as object
msql_fetch_row Get row as enumerated array
msql_fieldflags Alias of msql_field_flags
msql_fieldlen Alias of msql_field_len
msql_fieldname Alias of msql_field_name
msql_fieldtable Alias of msql_field_table
msql_fieldtype Alias of msql_field_type
msql_field_flags Get field flags
msql_field_len Get field length
msql_field_name Get the name of the specified field in a result
msql_field_seek Set field offset
msql_field_table Get table name for field
msql_field_type Get field type
msql_free_result Free result memory
msql_list_dbs List mSQL databases on server
msql_list_fields List result fields
msql_list_tables List tables in an mSQL database
msql_numfields Alias of msql_num_fields
msql_numrows Alias of msql_num_rows
msql_num_fields Get number of fields in result
msql_num_rows Get number of rows in result
msql_pconnect Open persistent mSQL connection
msql_query Send mSQL query
msql_regcase Alias of sql_regcase
msql_result Get result data
msql_select_db Select mSQL database
msql_tablename Alias of msql_result
mssql_bind Adds a parameter to a stored procedure or a remote stored procedure
mssql_close 关闭MS SQL Server连接
mssql_connect 打开MS SQL server连接
mssql_data_seek Moves internal row pointer
mssql_execute Executes a stored procedure on a MS SQL server database
mssql_fetch_array Fetch a result row as an associative array, a numeric array, or both
mssql_fetch_assoc Returns an associative array of the current row in the result
mssql_fetch_batch Returns the next batch of records
mssql_fetch_field Get field information
mssql_fetch_object Fetch row as object
mssql_fetch_row Get row as enumerated array
mssql_field_length Get the length of a field
mssql_field_name Get the name of a field
mssql_field_seek Seeks to the specified field offset
mssql_field_type Gets the type of a field
mssql_free_result Free result memory
mssql_free_statement Free statement memory
mssql_get_last_message Returns the last message from the server
mssql_guid_string Converts a 16 byte binary GUID to a string
mssql_init Initializes a stored procedure or a remote stored procedure
mssql_min_error_severity Sets the minimum error severity
mssql_min_message_severity Sets the minimum message severity
mssql_next_result Move the internal result pointer to the next result
mssql_num_fields Gets the number of fields in result
mssql_num_rows Gets the number of rows in result
mssql_pconnect Open persistent MS SQL connection
mssql_query Send MS SQL query
mssql_result Get result data
mssql_rows_affected Returns the number of records affected by the query
mssql_select_db Select MS SQL database
mt_getrandmax 显示随机数的最大可能值
mt_rand 生成更好的随机数
mt_srand 播下一个更好的随机数发生器种子
mysqli_bind_param mysqli_stmt_bind_param的别名
mysqli_bind_result mysqli_stmt_bind_result的别名
mysqli_client_encoding mysqli_character_set_name的别名
mysqli_disable_rpl_parse 禁用RPL解析
mysqli_enable_reads_from_master 开启从主机读取
mysqli_enable_rpl_parse 开启RPL解析
mysqli_escape_string 别名 mysqli_real_escape_string
mysqli_execute mysqli_stmt_execute的别名
mysqli_fetch mysqli_stmt_fetch的别名。
mysqli_get_cache_stats 返回客户端Zval缓存统计信息
mysqli_get_client_stats Returns client per-process statistics
mysqli_get_client_version Returns the MySQL client version as an integer
mysqli_get_links_stats Return information about open and cached links
mysqli_get_metadata mysqli_stmt_result_metadata的别名
mysqli_master_query 在主/从机制中强制在主机中执行一个查询
mysqli_param_count mysqli_stmt_param_count的别名
mysqli_report 开启或禁用(Mysql)内部(错误)报告函数
mysqli_rpl_parse_enabled 检查是否开启了RPL解析
mysqli_rpl_probe RPL探测
mysqli_send_long_data mysqli_stmt_send_long_data的别名
mysqli_set_opt mysqli_options的别名
mysqli_slave_query 在主/从机制中强制在从机上执行一个查询
mysqlnd_memcache_get_config Returns information about the plugin configuration
mysqlnd_memcache_set Associate a MySQL connection with a Memcache connection
mysqlnd_ms_dump_servers Returns a list of currently configured servers
mysqlnd_ms_fabric_select_global Switch to global sharding server for a given table
mysqlnd_ms_fabric_select_shard Switch to shard
mysqlnd_ms_get_last_gtid 返回最后的全局同步 ID (GTID)
mysqlnd_ms_get_last_used_connection Returns an array which describes the last used connection
mysqlnd_ms_get_stats Returns query distribution and connection statistics
mysqlnd_ms_match_wild Finds whether a table name matches a wildcard pattern or not
mysqlnd_ms_query_is_select 查询给定的 SQL 会发送给 master、slave 仍是最后使用的 MySQL server 执行。
mysqlnd_ms_set_qos Sets the quality of service needed from the cluster
mysqlnd_ms_set_user_pick_server Sets a callback for user-defined read/write splitting
mysqlnd_ms_xa_begin Starts a distributed/XA transaction among MySQL servers
mysqlnd_ms_xa_commit Commits a distributed/XA transaction among MySQL servers
mysqlnd_ms_xa_gc Garbage collects unfinished XA transactions after severe errors
mysqlnd_ms_xa_rollback Rolls back a distributed/XA transaction among MySQL servers
mysqlnd_qc_clear_cache Flush all cache contents
mysqlnd_qc_get_available_handlers Returns a list of available storage handler
mysqlnd_qc_get_cache_info Returns information on the current handler, the number of cache entries and cache entries, if available
mysqlnd_qc_get_core_stats Statistics collected by the core of the query cache
mysqlnd_qc_get_normalized_query_trace_log Returns a normalized query trace log for each query inspected by the query cache
mysqlnd_qc_get_query_trace_log Returns a backtrace for each query inspected by the query cache
mysqlnd_qc_set_cache_condition Set conditions for automatic caching
mysqlnd_qc_set_is_select Installs a callback which decides whether a statement is cached
mysqlnd_qc_set_storage_handler Change current storage handler
mysqlnd_qc_set_user_handlers Sets the callback functions for a user-defined procedural storage handler
mysqlnd_uh_convert_to_mysqlnd Converts a MySQL connection handle into a mysqlnd connection handle
mysqlnd_uh_set_connection_proxy Installs a proxy for mysqlnd connections
mysqlnd_uh_set_statement_proxy Installs a proxy for mysqlnd statements
mysql_affected_rows 取得前一次 MySQL 操做所影响的记录行数
mysql_client_encoding 返回字符集的名称
mysql_close 关闭 MySQL 链接
mysql_connect 打开一个到 MySQL 服务器的链接
mysql_create_db 新建一个 MySQL 数据库
mysql_data_seek 移动内部结果的指针
mysql_db_name 取得结果数据
mysql_db_query 发送一条 MySQL 查询
mysql_drop_db 丢弃(删除)一个 MySQL 数据库
mysql_errno 返回上一个 MySQL 操做中的错误信息的数字编码
mysql_error 返回上一个 MySQL 操做产生的文本错误信息
mysql_escape_string 转义一个字符串用于 mysql_query
mysql_fetch_array 从结果集中取得一行做为关联数组,或数字数组,或两者兼有
mysql_fetch_assoc 从结果集中取得一行做为关联数组
mysql_fetch_field 从结果集中取得列信息并做为对象返回
mysql_fetch_lengths 取得结果集中每一个输出的长度
mysql_fetch_object 从结果集中取得一行做为对象
mysql_fetch_row 从结果集中取得一行做为枚举数组
mysql_field_flags 从结果中取得和指定字段关联的标志
mysql_field_len 返回指定字段的长度
mysql_field_name 取得结果中指定字段的字段名
mysql_field_seek 将结果集中的指针设定为制定的字段偏移量
mysql_field_table 取得指定字段所在的表名
mysql_field_type 取得结果集中指定字段的类型
mysql_free_result 释放结果内存
mysql_get_client_info 取得 MySQL 客户端信息
mysql_get_host_info 取得 MySQL 主机信息
mysql_get_proto_info 取得 MySQL 协议信息
mysql_get_server_info 取得 MySQL 服务器信息
mysql_info 取得最近一条查询的信息
mysql_insert_id 取得上一步 INSERT 操做产生的 ID
mysql_list_dbs 列出 MySQL 服务器中全部的数据库
mysql_list_fields 列出 MySQL 结果中的字段
mysql_list_processes 列出 MySQL 进程
mysql_list_tables 列出 MySQL 数据库中的表
mysql_num_fields 取得结果集中字段的数目
mysql_num_rows 取得结果集中行的数目
mysql_pconnect 打开一个到 MySQL 服务器的持久链接
mysql_ping Ping 一个服务器链接,若是没有链接则从新链接
mysql_query 发送一条 MySQL 查询
mysql_real_escape_string 转义 SQL 语句中使用的字符串中的特殊字符,并考虑到链接的当前字符集
mysql_result 取得结果数据
mysql_select_db 选择 MySQL 数据库
mysql_set_charset 设置客户端的字符集
mysql_stat 取得当前系统状态
mysql_tablename 取得表名
mysql_thread_id 返回当前线程的 ID
mysql_unbuffered_query 向 MySQL 发送一条 SQL 查询,并不获取和缓存结果的行
m_checkstatus Check to see if a transaction has completed
m_completeauthorizations Number of complete authorizations in queue, returning an array of their identifiers
m_connect Establish the connection to MCVE
m_connectionerror Get a textual representation of why a connection failed
m_deletetrans Delete specified transaction from MCVE_CONN structure
m_destroyconn Destroy the connection and MCVE_CONN structure
m_destroyengine Free memory associated with IP/SSL connectivity
m_getcell Get a specific cell from a comma delimited response by column name
m_getcellbynum Get a specific cell from a comma delimited response by column number
m_getcommadelimited Get the RAW comma delimited data returned from MCVE
m_getheader Get the name of the column in a comma-delimited response
m_initconn Create and initialize an MCVE_CONN structure
m_initengine Ready the client for IP/SSL Communication
m_iscommadelimited Checks to see if response is comma delimited
m_maxconntimeout The maximum amount of time the API will attempt a connection to MCVE
m_monitor Perform communication with MCVE (send/receive data) Non-blocking
m_numcolumns Number of columns returned in a comma delimited response
m_numrows Number of rows returned in a comma delimited response
m_parsecommadelimited Parse the comma delimited response so m_getcell, etc will work
m_responsekeys Returns array of strings which represents the keys that can be used for response parameters on this transaction
m_responseparam Get a custom response parameter
m_returnstatus Check to see if the transaction was successful
m_setblocking Set blocking/non-blocking mode for connection
m_setdropfile Set the connection method to Drop-File
m_setip Set the connection method to IP
m_setssl Set the connection method to SSL
m_setssl_cafile Set SSL CA (Certificate Authority) file for verification of server certificate
m_setssl_files Set certificate key files and certificates if server requires client certificate verification
m_settimeout Set maximum transaction time (per trans)
m_sslcert_gen_hash Generate hash for SSL client certificate verification
m_transactionssent Check to see if outgoing buffer is clear
m_transinqueue Number of transactions in client-queue
m_transkeyval Add key/value pair to a transaction. Replaces deprecated transparam()
m_transnew Start a new transaction
m_transsend Finalize and send the transaction
m_uwait Wait x microsecs
m_validateidentifier Whether or not to validate the passed identifier on any transaction it is passed to
m_verifyconnection Set whether or not to PING upon connect to verify connection
m_verifysslcert Set whether or not to verify the server ssl certificate

n

函数 说明
natcasesort 用“天然排序”算法对数组进行不区分大小写字母的排序
natsort 用“天然排序”算法对数组排序
ncurses_addch Add character at current position and advance cursor
ncurses_addchnstr Add attributed string with specified length at current position
ncurses_addchstr Add attributed string at current position
ncurses_addnstr Add string with specified length at current position
ncurses_addstr Output text at current position
ncurses_assume_default_colors Define default colors for color 0
ncurses_attroff Turn off the given attributes
ncurses_attron Turn on the given attributes
ncurses_attrset Set given attributes
ncurses_baudrate Returns baudrate of terminal
ncurses_beep Let the terminal beep
ncurses_bkgd Set background property for terminal screen
ncurses_bkgdset Control screen background
ncurses_border Draw a border around the screen using attributed characters
ncurses_bottom_panel Moves a visible panel to the bottom of the stack
ncurses_can_change_color Checks if terminal color definitions can be changed
ncurses_cbreak Switch off input buffering
ncurses_clear Clear screen
ncurses_clrtobot Clear screen from current position to bottom
ncurses_clrtoeol Clear screen from current position to end of line
ncurses_color_content Retrieves RGB components of a color
ncurses_color_set Set active foreground and background colors
ncurses_curs_set Set cursor state
ncurses_define_key Define a keycode
ncurses_def_prog_mode Saves terminals (program) mode
ncurses_def_shell_mode Saves terminals (shell) mode
ncurses_delay_output Delay output on terminal using padding characters
ncurses_delch Delete character at current position, move rest of line left
ncurses_deleteln Delete line at current position, move rest of screen up
ncurses_delwin Delete a ncurses window
ncurses_del_panel Remove panel from the stack and delete it (but not the associated window)
ncurses_doupdate Write all prepared refreshes to terminal
ncurses_echo Activate keyboard input echo
ncurses_echochar Single character output including refresh
ncurses_end Stop using ncurses, clean up the screen
ncurses_erase Erase terminal screen
ncurses_erasechar Returns current erase character
ncurses_filter Set LINES for iniscr() and newterm() to 1
ncurses_flash Flash terminal screen (visual bell)
ncurses_flushinp Flush keyboard input buffer
ncurses_getch Read a character from keyboard
ncurses_getmaxyx Returns the size of a window
ncurses_getmouse Reads mouse event
ncurses_getyx Returns the current cursor position for a window
ncurses_halfdelay Put terminal into halfdelay mode
ncurses_has_colors Checks if terminal has color capabilities
ncurses_has_ic Check for insert- and delete-capabilities
ncurses_has_il Check for line insert- and delete-capabilities
ncurses_has_key Check for presence of a function key on terminal keyboard
ncurses_hide_panel Remove panel from the stack, making it invisible
ncurses_hline Draw a horizontal line at current position using an attributed character and max. n characters long
ncurses_inch Get character and attribute at current position
ncurses_init Initialize ncurses
ncurses_init_color Define a terminal color
ncurses_init_pair Define a color pair
ncurses_insch Insert character moving rest of line including character at current position
ncurses_insdelln Insert lines before current line scrolling down (negative numbers delete and scroll up)
ncurses_insertln Insert a line, move rest of screen down
ncurses_insstr Insert string at current position, moving rest of line right
ncurses_instr Reads string from terminal screen
ncurses_isendwin Ncurses is in endwin mode, normal screen output may be performed
ncurses_keyok Enable or disable a keycode
ncurses_keypad Turns keypad on or off
ncurses_killchar Returns current line kill character
ncurses_longname Returns terminals description
ncurses_meta Enables/Disable 8-bit meta key information
ncurses_mouseinterval Set timeout for mouse button clicks
ncurses_mousemask Sets mouse options
ncurses_mouse_trafo Transforms coordinates
ncurses_move Move output position
ncurses_move_panel Moves a panel so that its upper-left corner is at [startx, starty]
ncurses_mvaddch Move current position and add character
ncurses_mvaddchnstr Move position and add attributed string with specified length
ncurses_mvaddchstr Move position and add attributed string
ncurses_mvaddnstr Move position and add string with specified length
ncurses_mvaddstr Move position and add string
ncurses_mvcur Move cursor immediately
ncurses_mvdelch Move position and delete character, shift rest of line left
ncurses_mvgetch Move position and get character at new position
ncurses_mvhline Set new position and draw a horizontal line using an attributed character and max. n characters long
ncurses_mvinch Move position and get attributed character at new position
ncurses_mvvline Set new position and draw a vertical line using an attributed character and max. n characters long
ncurses_mvwaddstr Add string at new position in window
ncurses_napms Sleep
ncurses_newpad Creates a new pad (window)
ncurses_newwin Create a new window
ncurses_new_panel Create a new panel and associate it with window
ncurses_nl Translate newline and carriage return / line feed
ncurses_nocbreak Switch terminal to cooked mode
ncurses_noecho Switch off keyboard input echo
ncurses_nonl Do not translate newline and carriage return / line feed
ncurses_noqiflush Do not flush on signal characters
ncurses_noraw Switch terminal out of raw mode
ncurses_pair_content Retrieves foreground and background colors of a color pair
ncurses_panel_above Returns the panel above panel
ncurses_panel_below Returns the panel below panel
ncurses_panel_window Returns the window associated with panel
ncurses_pnoutrefresh Copies a region from a pad into the virtual screen
ncurses_prefresh Copies a region from a pad into the virtual screen
ncurses_putp Apply padding information to the string and output it
ncurses_qiflush Flush on signal characters
ncurses_raw Switch terminal into raw mode
ncurses_refresh Refresh screen
ncurses_replace_panel Replaces the window associated with panel
ncurses_resetty Restores saved terminal state
ncurses_reset_prog_mode Resets the prog mode saved by def_prog_mode
ncurses_reset_shell_mode Resets the shell mode saved by def_shell_mode
ncurses_savetty Saves terminal state
ncurses_scrl Scroll window content up or down without changing current position
ncurses_scr_dump Dump screen content to file
ncurses_scr_init Initialize screen from file dump
ncurses_scr_restore Restore screen from file dump
ncurses_scr_set Inherit screen from file dump
ncurses_show_panel Places an invisible panel on top of the stack, making it visible
ncurses_slk_attr Returns current soft label key attribute
ncurses_slk_attroff Turn off the given attributes for soft function-key labels
ncurses_slk_attron Turn on the given attributes for soft function-key labels
ncurses_slk_attrset Set given attributes for soft function-key labels
ncurses_slk_clear Clears soft labels from screen
ncurses_slk_color Sets color for soft label keys
ncurses_slk_init Initializes soft label key functions
ncurses_slk_noutrefresh Copies soft label keys to virtual screen
ncurses_slk_refresh Copies soft label keys to screen
ncurses_slk_restore Restores soft label keys
ncurses_slk_set Sets function key labels
ncurses_slk_touch Forces output when ncurses_slk_noutrefresh is performed
ncurses_standend Stop using ‘standout’ attribute
ncurses_standout Start using ‘standout’ attribute
ncurses_start_color Initializes color functionality
ncurses_termattrs Returns a logical OR of all attribute flags supported by terminal
ncurses_termname Returns terminals (short)-name
ncurses_timeout Set timeout for special key sequences
ncurses_top_panel Moves a visible panel to the top of the stack
ncurses_typeahead Specify different filedescriptor for typeahead checking
ncurses_ungetch Put a character back into the input stream
ncurses_ungetmouse Pushes mouse event to queue
ncurses_update_panels Refreshes the virtual screen to reflect the relations between panels in the stack
ncurses_use_default_colors Assign terminal default colors to color id -1
ncurses_use_env Control use of environment information about terminal size
ncurses_use_extended_names Control use of extended names in terminfo descriptions
ncurses_vidattr Display the string on the terminal in the video attribute mode
ncurses_vline Draw a vertical line at current position using an attributed character and max. n characters long
ncurses_waddch Adds character at current position in a window and advance cursor
ncurses_waddstr Outputs text at current postion in window
ncurses_wattroff Turns off attributes for a window
ncurses_wattron Turns on attributes for a window
ncurses_wattrset Set the attributes for a window
ncurses_wborder Draws a border around the window using attributed characters