Skip to content

Instantly share code, notes, and snippets.

View hieuh25's full-sized avatar
👨‍🚒
palosotilas

Hieu hieuh25

👨‍🚒
palosotilas
  • Freezerland
View GitHub Profile
### Keybase proof
I hereby claim:
* I am hieuh25 on github.
* I am hieuh25 (https://keybase.io/hieuh25) on keybase.
* I have a public key ASA6li5NK-xGX1Dz4nwIS86QuDIr-OBeLLXUlyO1r1Qngwo
To claim this, I am signing this object:
@hieuh25
hieuh25 / printr.php
Last active December 11, 2015 21:28
Helper function to extend the standard debug function print_r()
/**
* printr()
* Helper function to extend the standard debug function print_r()
* Note: if you want to debug many variables at the same time, wrap them in an array: printr(array($var1, $var2, $var3));
*
* @author Hieu Nguyen <hieuh25@gmail.com>
*
* @param mixed $var to be debugged
* @param bool $hidden is false by default, if $hidden is true then the output is hidden
*