Mathieu Hays

Category: PHP

Clean debugging in PHP

Published on: | Category: PHP

Because I required to be able to dump data without altering the design of a website I came with this snippet that enable me to render php variables to the browser’s console. It basically just support numbers, string, arrays and simple stdClass objects which I think is enough for most use cases. <?php function console_log() […]

Read more about Clean debugging in PHP