PHP Functions 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_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 ... |
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.