Академический Документы
Профессиональный Документы
Культура Документы
PHP
Learn an #hourADay
Treehouse
Teach yourself valuable skills. Start learning
for free!
Next Chapter
Installation
The array functions are part of the PHP core. There is no installation needed to use these
functions.
Description
array()
Creates an array
array_change_key_case()
array_chunk()
http://www.w3schools.com/php/php_ref_array.asp
1/9
1/11/2016
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()
http://www.w3schools.com/php/php_ref_array.asp
2/9
1/11/2016
array_intersect_ukey()
array_key_exists()
array_keys()
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()
http://www.w3schools.com/php/php_ref_array.asp
3/9
1/11/2016
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()
asort()
compact()
http://www.w3schools.com/php/php_ref_array.asp
4/9
1/11/2016
count()
current()
each()
end()
extract()
in_array()
key()
krsort()
ksort()
list()
natcasesort()
natsort()
next()
pos()
Alias of current()
prev()
range()
reset()
rsort()
shuffle()
Shuffles an array
sizeof()
Alias of count()
sort()
http://www.w3schools.com/php/php_ref_array.asp
5/9
1/11/2016
uasort()
uksort()
usort()
Previous
http://www.w3schools.com/php/php_ref_array.asp
Next Chapter
6/9
1/11/2016
W3SCHOOLS EXAMS
HTML, CSS, JavaScript, PHP, jQuery, and XML Certifications
COLOR PICKER
LEARN MORE:
Google Maps
Animated Buttons
Modal Boxes
JS Animations
Progress Bars
Dropdowns
HTML Includes
Color Palettes
http://www.w3schools.com/php/php_ref_array.asp
7/9
1/11/2016
REPORT ERROR
PRINT PAGE
FORUM
ABOUT
Top 10 Tutorials
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
SQL Tutorial
PHP Tutorial
jQuery Tutorial
Bootstrap Tutorial
Angular Tutorial
ASP.NET Tutorial
XML Tutorial
http://www.w3schools.com/php/php_ref_array.asp
8/9
1/11/2016
Top 10 References
HTML Reference
CSS Reference
JavaScript Reference
Browser Statistics
HTML DOM
PHP Reference
jQuery Reference
HTML Colors
HTML Character Sets
AngularJS Reference
Top 10 Examples
HTML Examples
CSS Examples
JavaScript Examples
HTML DOM Examples
PHP Examples
jQuery Examples
XML Examples
ASP Examples
SVG Examples
Web Certificates
HTML Certificate
HTML5 Certificate
CSS Certificate
JavaScript Certificate
jQuery Certificate
PHP Certificate
Bootstrap Certificate
XML Certificate
W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve
reading and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid
errors, but we cannot warrant full correctness of all content. While using this site, you agree to have
read and accepted our terms of use, cookie and privacy policy. Copyright 1999-2016 by Refsnes Data. All
Rights Reserved.
http://www.w3schools.com/php/php_ref_array.asp
9/9