PHP array_walk() function
The array_walk( ) function is an inbuilt function of PHP. It is used to apply a user supplied function to every element of an array. This function was introduced in 4.0.
The array_walk( ) function returns true on success or false on failure.
The key a has the value youtube The key b has the value google The key c has the value whatsapp
Javatpoint tutorial1 has php Javatpoint tutorial2 has java Javatpoint tutorial3 has python
cricket and sachin have been paired together. hockey and sandeep have been paired together.
The key a has the value aajtak. The key b has the value zee news. The key c has the value ndtv.
Next TopicPHP Array Functions