Skip to content

Instantly share code, notes, and snippets.

View gbrock's full-sized avatar

Greg Brock gbrock

View GitHub Profile
@gbrock
gbrock / debug.php
Last active August 29, 2015 14:10
A function to output variables on-screen for debugging purposes.
<?php
/**
* output whatever variable is passed on-screen for debugging purposes
*
* @param mixed $oVar the variable to be debugged
* @param bool $bContinue if false, sends a full-stop to the running script
* @return void
*
* @author gBrock