Cool Ajax - Web Development Tutorial Blog

Tag : print array in php

2 ways of printing an array in php

We use echo statement in PHP to output the value of an expression like a single variable. While echo is much more useful, but it’s have some limitation to print array contents. For example, while debugging a script, we needs to see not just the value of an expression, but also its type and it’s index information. So, this type [...]