Wednesday, July 3, 2013

PHP Function By Category

This is a list of functions provided by PHP’s built-in extensions, grouped by the extension
providing each function:



Arrays

array_change_key_casearray_intersect_assoc
array_chunkarray_intersect_key
array_combinearray_intersect_uassoc
array_count_valuesarray_intersect_ukey
array_diffarray_key_exists
array_diff_assocarray_keys
array_diff_keyarray_map
array_diff_uassocarray_merge
array_diff_ukeyarray_merge_recursive
array_fillarray_multisort
array_fill_keysarray_pad
array_filterarray_pop
array_fliparray_product
array_intersectarray_push
array_randcompact
array_reducecount
array_replacecurrent
array_replace_recursiveeach
array_reverseend
array_searchextract
array_shiftin_array
array_slicekey
array_splicekrsort
array_sumksort
array_udifflist
array_udiff_assocnatcasesort
array_udiff_uassocnatsort
array_uintersectnext
array_uintersect_assocprev
array_uintersect_uassocrange
array_uniquereset
array_unshiftrsort
array_valuesshuffle
array_walksort
array_walk_recursiveuasort
arsortuksort
asortusort

Classes and Objects


class_aliasget_object_vars
class_existsget_parent_class
get_called_classinterface_exists
get_class_methodsis_a
get_class_varsis_subclass_of
get_classmethod_exists
get_declared_classesproperty_exists
get_declared_interfacestrait_exists
get_declared_traits

Date and Time


checkdatedate_default_timezone_set
date_default_timezone_getdate_parse_from_format
date_parseidate
date_sun_infolocaltime
date_sunrisemicrotime
date_sunsetmktime
datestrftime
getdatestrptime
gettimeofdaystrtotime
gmdatetime
gmmktimetimezone_name_from_abbr
gmstrftimetimezone_version_get

Directories


chdiropendir
chrootreaddir
closedirrewinddir
dirscandir
getcwd

Errors and Logging


debug_backtracerestore_error_handler
debug_print_backtracerestore_exception_handler
error_get_lastset_error_handler
error_logset_exception_handler
error_reportingtrigger_error

Program Execution


escapeshellargproc_nice
escapeshellcmdproc_open
execproc_terminate
passthrushell_exec
proc_closesystem
proc_get_status

Filesystem


basenamecopy
chgrpdirname
chmoddisk_free_space
chowndisk_total_space
clearstatcachefclose
feofis_executable
fflushis_file
fgetcis_link
fgetcsvis_readable
fgetsis_uploaded_file
fgetssis_writable
file_existslchgrp
file_get_contentslchown
file_put_contentslink
filelinkinfo
fileatimelstat
filectimemkdir
filegroupmove_uploaded_file
fileinodeparse_ini_file
filemtimeparse_ini_string
fileownerpathinfo
filepermspclose
filesizepopen
filetypereadfile
flockreadlink
fnmatchrealpath_cache_get
fopenrealpath_cache_size
fpassthrurealpath
fputcsvrename
freadrewind
fscanfrmdir
fseekstat
fstatsymlink
ftelltempnam
ftruncatetmpfile
fwritetouch
globumask
is_dirunlink

Data Filtering


filter_has_varfilter_input
filter_idfilter_list
filter_input_arrayfilter_var_array
filter_var

Functions


call_user_func_arrayforward_static_call
call_user_funcfunc_get_arg
create_functionfunc_get_args
forward_static_call_arrayfunc_num_args
function_existsregister_tick_function
get_defined_functionsunregister_tick_function
register_shutdown_function

PHP Options/Info


assert_optionsini_get
assertini_restore
extension_loadedini_set
gc_collect_cyclesmemory_get_peak_usage
gc_disablememory_get_usage
gc_enablephp_ini_loaded_file
gc_enabledphp_ini_scanned_files
get_cfg_varphp_logo_guid
get_current_userphp_sapi_name
get_defined_constantsphp_uname
get_extension_funcsphpcredits
get_include_pathphpinfo
get_included_filesphpversion
get_loaded_extensionsputenv
getenvrestore_include_path
getlastmodset_include_path
getmygidset_time_limit
getmyinodesys_get_temp_dir
getmypidversion_compare
getmyuidzend_logo_guid
getoptzend_thread_id
getrusagezend_version
ini_get_all

Mail


mail

Math


absis_finite
acosis_infinite
acoshis_nan
asinlcg_value
asinhlog10
atan2log1p
atanlog
atanhmax
base_convertmin
bindecmt_getrandmax
ceilmt_rand
cosmt_srand
coshoctdec
decbinpi
dechexpow
decoctrad2deg
deg2radrand
expround
expm1sin
floorsinh
fmodsqrt
getrandmaxsrand
hexdectan
hypottanh

Miscellaneous Functions


connection_abortedpack
connection_statusphp_strip_whitespace
constantsleep
definesys_getloadavg
definedtime_nanosleep
get_browsertime_sleep_until
highlight_fileuniqid
highlight_stringunpack
ignore_user_abortusleep

Network


checkdnsrrheader
closelogheaders_list
fsockopenheaders_sent
gethostbyaddrinet_ntop
gethostbynameinet_pton
gethostbynamelip2long
gethostnamelong2ip
getmxrropenlog
getprotobynamepfsockopen
getprotobynumbersetcookie
getservbynamesetrawcookie
getservbyportsyslog
header_remove

Output Buffering


flushob_get_level
ob_cleanob_get_status
ob_end_cleanob_gzhandler
ob_end_flushob_implicit_flush
ob_flushob_list_handlers
ob_get_cleanob_start
ob_get_contentsoutput_add_rewrite_var
ob_get_flushoutput_reset_rewrite_vars
ob_get_length

Session Handling


session_cache_expiresession_regenerate_id
session_cache_limitersession_register_shutdown
session_decodesession_save_path
session_destroysession_set_cookie_params
session_encodesession_set_save_handler
session_get_cookie_paramssession_start
session_idsession_status
session_module_namesession_unset
session_namesession_write_close

Streams


stream_bucket_appendstream_bucket_make_writeable
stream_bucket_newstream_notification_callback
stream_bucket_prependstream_resolve_include_path
stream_context_createstream_select
stream_context_get_defaultstream_set_blocking
stream_context_get_optionsstream_set_chunk_size
stream_context_get_paramsstream_set_read_buffer
stream_context_set_defaultstream_set_timeout
stream_context_set_optionstream_set_write_buffer
stream_context_set_paramsstream_socket_accept
stream_copy_to_streamstream_socket_client
stream_encodingstream_socket_enable_crypto
stream_filter_appendstream_socket_get_name
stream_filter_prependstream_socket_pair
stream_filter_registerstream_socket_recvfrom
stream_filter_removestream_socket_sendto
stream_get_contentsstream_socket_server
stream_get_filtersstream_socket_shutdown
stream_get_linestream_supports_lock
stream_get_meta_datastream_wrapper_register
stream_get_transportsstream_wrapper_restore
stream_get_wrappersstream_wrapper_unregister
stream_is_local

Strings


addcslashesget_html_translation_table
addslasheshebrev
bin2hexhebrevc
chrhex2bin
chunk_splithtml_entity_decode
convert_cyr_stringhtmlentities
convert_uudecodehtmlspecialchars_decode
convert_uuencodehtmlspecialchars
count_charsimplode
crc32lcfirst
cryptlevenshtein
echolocaleconv
explodeltrim
fprintfmd5_file
md5strip_tags
metaphonestripcslashes
money_formatstripos
nl_langinfostripslashes
nl2brstristr
number_formatstrlen
ordstrnatcasecmp
parse_strstrnatcmp
printfstrncasecmp
quoted_printable_decodestrncmp
quoted_printable_encodestrpbrk
quotemetastrpos
rtrimstrrchr
setlocalestrrev
sha1_filestrripos
sha1strrpos
similar_textstrspn
soundexstrstr
sprintfstrtok
sscanfstrtolower
str_getcsvstrtoupper
str_ireplacestrtr
str_padsubstr_compare
str_repeatsubstr_count
str_replacesubstr_replace
str_rot13substr
str_shuffletrim
str_splitucfirst
str_word_countucwords
strcasecmpvfprintf
strcmpvprintf
strcollvsprintf
strcspnwordwrap

PHP Language Tokenizer


token_get_all
token_name

URLs


base64_decodeparse_url
base64_encoderawurldecode
get_headersrawurlencode
get_meta_tagsurldecode
http_build_queryurlencode

Variables


debug_zval_dumpis_object
emptyis_resource
floatvalis_scalar
get_defined_varsis_string
get_resource_typeisset
gettypeprint_r
intvalserialize
is_arraysettype
is_boolstrval
is_callableunserialize
is_floatunset
is_intvar_dump
is_nullvar_export
is_numeric

0 comments:

Post a Comment