/ Published in: PHP
This is the PHP code to debug any variable ..
Expand |
Embed | Plain Text
/** This function is used to debug variables during page execution * @param $what , the variable which need to debug,can be array or single variable * @param $more , to know the method and line number where that variable is used * @param $die , set TRUE if want to stop the page * how to use : debug::watch($postarray,1,1); * @author keshav mohta * @date Aug 12, 2010 */ class debug() { { { } echo "<br/>"; { echo "DATA:<pre>"; echo "</pre>"; } else { } if($die) { echo "<br/>"; } } }
You need to login to post a comment.
