As you know var_dump()
in addition to value show its data type and length.
Is there any way to log its output to
only from JavaScript a jquery From arrays in firebug and chrome is:
console.dir('[object arrays]');
open the console and activate to F12... and write this code in console is the var_dump to php from jquery. array to json
var test = {"names":["john doe","JANE doe"],"ids":["123",null]}; console.dir(test);
if you need directly console fron PHP need a plugin