Array’s functions in PHP
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Some important array functions in php are mentioned below :-
- array() :- It Creates an array
- array_keys() :- It returns an array that contains all the keys in the input array.
- count() :- The count() function is used to count the elements of an array or the properties of an object.
- print_r() :-The print_r() function is used to print human-readable information about a variable or array.