Cover by Rasmus Lerdorf, Peter MacIntyre, Kevin Tatroe

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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_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 ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required