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
相關文章
相關標籤/搜索