061cef9c02d859729f235f1798f3ebd230c719ba
[mtweb] / mw / app / init / 0100_functions.php
1 <?php
2
3   function debug($content){
4     echo PHP_SAPI == "cli" ?
5       "\n".print_r($content, true)."\n"
6     : "<pre class=\"debug\">".htmlentities(print_r($content, true), ENT_QUOTES, "UTF-8")."</pre>";
7   }
8
9 ?>