PHP console.log (debugging helper)

PHP console.log (debugging helper)
0

#1

Hello campers,

I’ve been working with PHP for about a year now, and got frustrated with the native debugging functions (var_dump, print_r, echo… etc) so I wrote this helper function to output any variable(s) to the browser console, a bit like console.log, but for PHP.

Check it out, and if you like it, don’t hesitate to contribute for more functionalities.

Thank you :slight_smile: