source: branches/dev/html/test/adachi/LLReader/LLReader/Util.php @ 14611

Revision 14611, 381 bytes checked in by adati, 17 years ago (diff)
Line 
1<?php
2
3class LLReader_Util {
4    public static function log ($msg) {
5        echo $msg . "\n";
6    }
7
8    public static function p ($var, $var_dump = true) {
9        echo "++++++++ debug start ++++++++\n";
10
11        if ($var_dump) {
12            var_dump($var);
13        }
14        else {
15            print_r($var);
16        }
17
18        echo "++++++++ debug end ++++++++\n";
19    }
20
21}
22
23?>
Note: See TracBrowser for help on using the repository browser.