Send print_r output to Firebug Console.log()

Many times when we are developing projects we need to debug so we print something using print_r (maybe you’re using var_dump) it meshes up our page. So Here I found a function that will be helpful for you.

This function takes data to print_r and gives output then we explode it by line. And through loop we send it to firebug console.

Shyam Makwana has written 21 articles

I am PHP developer with passion of exploring IT world for new technologies. I do projects in WordPress, Joomla, Magento, Drupal, Open Cart, Code Igniter, MVC and CorePHP. Checkout my about.me profile here http://about.me/shyammakwana to know more about me.