This is a list of functions provided by PHP’s built-in extensions, grouped by the extension
providing each function:
Arrays
array_change_key_case | array_intersect_assoc
|
array_chunk | array_intersect_key
|
array_combine | array_intersect_uassoc
|
array_count_values | array_intersect_ukey
|
array_diff | array_key_exists
|
array_diff_assoc | array_keys
|
array_diff_key | array_map
|
array_diff_uassoc | array_merge
|
array_diff_ukey | array_merge_recursive
|
array_fill | array_multisort
|
array_fill_keys | array_pad
|
array_filter | array_pop
|
array_flip | array_product
|
array_intersect | array_push
|
array_rand | compact
|
array_reduce | count
|
array_replace | current
|
array_replace_recursive | each
|
array_reverse | end
|
array_search | extract
|
array_shift | in_array
|
array_slice | key
|
array_splice | krsort
|
array_sum | ksort
|
array_udiff | list
|
array_udiff_assoc | natcasesort
|
array_udiff_uassoc | natsort
|
array_uintersect | next
|
array_uintersect_assoc | prev
|
array_uintersect_uassoc | range
|
array_unique | reset
|
array_unshift | rsort
|
array_values | shuffle
|
array_walk | sort
|
array_walk_recursive | uasort
|
arsort | uksort
|
asort | usort
|
Classes and Objects
class_alias | get_object_vars
|
class_exists | get_parent_class
|
get_called_class | interface_exists
|
get_class_methods | is_a
|
get_class_vars | is_subclass_of
|
get_class | method_exists
|
get_declared_classes | property_exists
|
get_declared_interfaces | trait_exists
|
get_declared_traits | |
Date and Time
checkdate | date_default_timezone_set
|
date_default_timezone_get | date_parse_from_format
|
date_parse | idate
|
date_sun_info | localtime
|
date_sunrise | microtime
|
date_sunset | mktime
|
date | strftime
|
getdate | strptime
|
gettimeofday | strtotime
|
gmdate | time
|
gmmktime | timezone_name_from_abbr
|
gmstrftime | timezone_version_get
|
Directories
chdir | opendir
|
chroot | readdir
|
closedir | rewinddir
|
dir | scandir
|
getcwd
| |
Errors and Logging
debug_backtrace | restore_error_handler
|
debug_print_backtrace | restore_exception_handler
|
error_get_last | set_error_handler
|
error_log | set_exception_handler
|
error_reporting | trigger_error
|
Program Execution
escapeshellarg | proc_nice
|
escapeshellcmd | proc_open
|
exec | proc_terminate
|
passthru | shell_exec
|
proc_close | system
|
proc_get_status
| |
Filesystem
basename | copy
|
chgrp | dirname
|
chmod | disk_free_space
|
chown | disk_total_space
|
clearstatcache | fclose
|
feof | is_executable
|
fflush | is_file
|
fgetc | is_link
|
fgetcsv | is_readable
|
fgets | is_uploaded_file
|
fgetss | is_writable
|
file_exists | lchgrp
|
file_get_contents | lchown
|
file_put_contents | link
|
file | linkinfo
|
fileatime | lstat
|
filectime | mkdir
|
filegroup | move_uploaded_file
|
fileinode | parse_ini_file
|
filemtime | parse_ini_string
|
fileowner | pathinfo
|
fileperms | pclose
|
filesize | popen
|
filetype | readfile
|
flock | readlink
|
fnmatch | realpath_cache_get
|
fopen | realpath_cache_size
|
fpassthru | realpath
|
fputcsv | rename
|
fread | rewind
|
fscanf | rmdir
|
fseek | stat
|
fstat | symlink
|
ftell | tempnam
|
ftruncate | tmpfile
|
fwrite | touch
|
glob | umask
|
is_dir | unlink
|
Data Filtering
filter_has_var | filter_input
|
filter_id | filter_list
|
filter_input_array | filter_var_array
|
filter_var
|
Functions
call_user_func_array | forward_static_call
|
call_user_func | func_get_arg
|
create_function | func_get_args
|
forward_static_call_array | func_num_args
|
function_exists | register_tick_function
|
get_defined_functions | unregister_tick_function
|
register_shutdown_function
|
PHP Options/Info
assert_options | ini_get
|
assert | ini_restore
|
extension_loaded | ini_set
|
gc_collect_cycles | memory_get_peak_usage
|
gc_disable | memory_get_usage
|
gc_enable | php_ini_loaded_file
|
gc_enabled | php_ini_scanned_files
|
get_cfg_var | php_logo_guid
|
get_current_user | php_sapi_name
|
get_defined_constants | php_uname
|
get_extension_funcs | phpcredits
|
get_include_path | phpinfo
|
get_included_files | phpversion
|
get_loaded_extensions | putenv
|
getenv | restore_include_path
|
getlastmod | set_include_path
|
getmygid | set_time_limit
|
getmyinode | sys_get_temp_dir
|
getmypid | version_compare
|
getmyuid | zend_logo_guid
|
getopt | zend_thread_id
|
getrusage | zend_version
|
ini_get_all
|
Mail
Math
abs | is_finite
|
acos | is_infinite
|
acosh | is_nan
|
asin | lcg_value
|
asinh | log10
|
atan2 | log1p
|
atan | log
|
atanh | max
|
base_convert | min
|
bindec | mt_getrandmax
|
ceil | mt_rand
|
cos | mt_srand
|
cosh | octdec
|
decbin | pi
|
dechex | pow
|
decoct | rad2deg
|
deg2rad | rand
|
exp | round
|
expm1 | sin
|
floor | sinh
|
fmod | sqrt
|
getrandmax | srand
|
hexdec | tan
|
hypot | tanh
|
Miscellaneous Functions
connection_aborted | pack
|
connection_status | php_strip_whitespace
|
constant | sleep
|
define | sys_getloadavg
|
defined | time_nanosleep
|
get_browser | time_sleep_until
|
highlight_file | uniqid
|
highlight_string | unpack
|
ignore_user_abort | usleep
|
Network
checkdnsrr | header
|
closelog | headers_list
|
fsockopen | headers_sent
|
gethostbyaddr | inet_ntop
|
gethostbyname | inet_pton
|
gethostbynamel | ip2long
|
gethostname | long2ip
|
getmxrr | openlog
|
getprotobyname | pfsockopen
|
getprotobynumber | setcookie
|
getservbyname | setrawcookie
|
getservbyport | syslog
|
header_remove
|
Output Buffering
flush | ob_get_level
|
ob_clean | ob_get_status
|
ob_end_clean | ob_gzhandler
|
ob_end_flush | ob_implicit_flush
|
ob_flush | ob_list_handlers
|
ob_get_clean | ob_start
|
ob_get_contents | output_add_rewrite_var
|
ob_get_flush | output_reset_rewrite_vars
|
ob_get_length
|
Session Handling
session_cache_expire | session_regenerate_id
|
session_cache_limiter | session_register_shutdown
|
session_decode | session_save_path
|
session_destroy | session_set_cookie_params
|
session_encode | session_set_save_handler
|
session_get_cookie_params | session_start
|
session_id | session_status
|
session_module_name | session_unset
|
session_name | session_write_close
|
Streams
stream_bucket_append | stream_bucket_make_writeable
|
stream_bucket_new | stream_notification_callback
|
stream_bucket_prepend | stream_resolve_include_path
|
stream_context_create | stream_select
|
stream_context_get_default | stream_set_blocking
|
stream_context_get_options | stream_set_chunk_size
|
stream_context_get_params | stream_set_read_buffer
|
stream_context_set_default | stream_set_timeout
|
stream_context_set_option | stream_set_write_buffer
|
stream_context_set_params | stream_socket_accept
|
stream_copy_to_stream | stream_socket_client
|
stream_encoding | stream_socket_enable_crypto
|
stream_filter_append | stream_socket_get_name
|
stream_filter_prepend | stream_socket_pair
|
stream_filter_register | stream_socket_recvfrom
|
stream_filter_remove | stream_socket_sendto
|
stream_get_contents | stream_socket_server
|
stream_get_filters | stream_socket_shutdown
|
stream_get_line | stream_supports_lock
|
stream_get_meta_data | stream_wrapper_register
|
stream_get_transports | stream_wrapper_restore
|
stream_get_wrappers | stream_wrapper_unregister
|
stream_is_local
|
Strings
addcslashes | get_html_translation_table
|
addslashes | hebrev
|
bin2hex | hebrevc
|
chr | hex2bin
|
chunk_split | html_entity_decode
|
convert_cyr_string | htmlentities
|
convert_uudecode | htmlspecialchars_decode
|
convert_uuencode | htmlspecialchars
|
count_chars | implode
|
crc32 | lcfirst
|
crypt | levenshtein
|
echo | localeconv
|
explode | ltrim
|
fprintf | md5_file
|
md5 | strip_tags
|
metaphone | stripcslashes
|
money_format | stripos
|
nl_langinfo | stripslashes
|
nl2br | stristr
|
number_format | strlen
|
ord | strnatcasecmp
|
parse_str | strnatcmp
|
printf | strncasecmp
|
quoted_printable_decode | strncmp
|
quoted_printable_encode | strpbrk
|
quotemeta | strpos
|
rtrim | strrchr
|
setlocale | strrev
|
sha1_file | strripos
|
sha1 | strrpos
|
similar_text | strspn
|
soundex | strstr
|
sprintf | strtok
|
sscanf | strtolower
|
str_getcsv | strtoupper
|
str_ireplace | strtr
|
str_pad | substr_compare
|
str_repeat | substr_count
|
str_replace | substr_replace
|
str_rot13 | substr
|
str_shuffle | trim
|
str_split | ucfirst
|
str_word_count | ucwords
|
strcasecmp | vfprintf
|
strcmp | vprintf
|
strcoll | vsprintf
|
strcspn | wordwrap
|
PHP Language Tokenizer
URLs
base64_decode | parse_url
|
base64_encode | rawurldecode
|
get_headers | rawurlencode
|
get_meta_tags | urldecode
|
http_build_query | urlencode
|
Variables
debug_zval_dump | is_object
|
empty | is_resource
|
floatval | is_scalar
|
get_defined_vars | is_string
|
get_resource_type | isset
|
gettype | print_r
|
intval | serialize
|
is_array | settype
|
is_bool | strval
|
is_callable | unserialize
|
is_float | unset
|
is_int | var_dump
|
is_null | var_export
|
is_numeric |
0 comments:
Post a Comment