What are the array functions in php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are the array functions in php?

20th Mar 2017, 7:11 AM
Shashavali Dudekula
Shashavali Dudekula - avatar
3 Answers
+ 1
Arrays are a kind of variables where you can store more variables. you can see an array as a list, with index
20th Mar 2017, 7:14 AM
Ciubotaru Bogdan
Ciubotaru Bogdan - avatar
+ 1
one function is array_push.It is a useful function that appends a variable to end of array. like this: array_push($array_name,$var_name);
21st Mar 2017, 8:16 AM
MohammadAmin Salarkia
MohammadAmin Salarkia - avatar
0
@ciubotaru bogdan thanks for the answer.. i know what an array is. i want to know what are the different types of functions an array can do.. i know some funtions like count(array_variable), print_r(array_variable)
21st Mar 2017, 5:48 AM
Shashavali Dudekula
Shashavali Dudekula - avatar