This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Logs messages/variables/data to browser console from within php | |
* | |
* @param $name: message to be shown for optional data/vars | |
* @param $data: variable (scalar/mixed) arrays/objects, etc to be logged | |
* @param $jsEval: whether to apply JS eval() to arrays/objects | |
* | |
* @return none | |
* @author Sarfraz |