How to use print_r in php with examples

Print_r:-
Used to display the all elements of an array properties of an object.
for example take a program

/*output
Array ( [0] => 10 [1] => 20 [2] => 30 )
*/

0 comments:

Post a Comment