Array Functions

  1. array()
  2. array_change_key_case()
  3. array_chunk()
  4. array_combine()
  5. array_count_values()
  6. array_diff()
  7. array_diff_assoc()
  8. array_diff_key()
  9. array_diff_uassoc()
  10. array_diff_ukey()
  11. array_fill()
  12. array_filter()
  13. array_flip()
  14. array_intersect()
  15. array_intersect_assoc()
  16. array_intersect_key()
  17. array_intersect_uassoc()
  18. array_intersect_ukey()
  19. array_key_exists()
  20. array_keys()
  21. array_map()
  22. array_merge()
  23. array_merge_recursive()
  24. array_multisort()
  25. array_pad()
  26. array_pop()
  27. array_product()
  28. array_push()
  29. array_rand()
  30. array_reduce()
  31. array_reverse()
  32. array_search()
  33. array_shift()
  34. array_slice()
  35. array_splice()
  36. array_sum()
  37. array_udiff()
  38. array_udiff_assoc()
  39. array_udiff_uassoc()
  40. array_uintersect()
  41. array_uintersect_assoc()
  42. array_uintersect_uassoc()
  43. array_unique()
  44. array_unshift()
  45. array_values()
  46. array_walk()
  47. array_walk_recursive()
  48. arsort()
  49. asort()
  50. compact()
  51. count()
  52. current()
  53. each()
  54. end()
  55. extract()
  56. in_array()
  57. key()
  58. krsort()
  59. ksort()
  60. list()
  61. natcasesort()
  62. natsort()
  63. next()
  64. pos()
  65. prev()
  66. range()
  67. reset()
  68. rsort()
  69. shuffle()
  70. sizeof()
  71. sort()
  72. uasort()
  73. uksort()
  74. usort()

Array Constants

CASE_LOWER

Used with array_change_key_case() to convert array keys to lower case

CASE_UPPER

Used with array_change_key_case() to convert array keys to upper case

SORT_ASC

Used with array_multisort() to sort in ascending order

SORT_DESC

Used with array_multisort() to sort in descending order

SORT_REGULAR

Used to compare items normally

SORT_NUMERIC

Used to compare items numerically

SORT_STRING

Used to compare items as strings

SORT_LOCALE_STRING

Used to compare items as strings, based on the current locale

COUNT_NORMAL

COUNT_RECURSIVE

EXTR_OVERWRITE

EXTR_SKIP

EXTR_PREFIX_SAME

EXTR_PREFIX_ALL

EXTR_PREFIX_INVALID

EXTR_PREFIX_IF_EXISTS

EXTR_IF_EXISTS

EXTR_REFS

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *