Posts Tagged var_dump

Print Array in PHP

There are various methods and commands used in PHP to print an array of elements. They are different in the way they print the array elements.
I will cover three main ones I usually use.
Lets assume an array as follows to explain the various types of printing.

Continue reading “Print Array in PHP” »


, , , , ,

2 Comments