Array’s functions in PHP

Some important array functions in php are mentioned below :-

  1. array() :- It Creates an array
  2. array_keys() :- It returns an array that contains all the keys in the input array.
  3. count() :- The count() function is used to count the elements of an array or the properties of an object.
  4. print_r() :-The print_r() function is used to print human-readable information about a variable or array.