123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- require_once('./Library/rtdebug.php');
- define('DEBUG',true);
- if(DEBUG) RTDEBUG::init('127.0.0.1','/postlog',4001);
- $abc = array (
- 'd0' => 1,
- 'abc' => 1,
- 'sadf' => 1,
- 'ff' => 1,
- 'sdf' => 1,
- 'zxc' => 1,
- 'dfgh' => 1,
- 'gjh' => 1,
- '52d678' => 1,
- 'a0' => 1,
- 'q0' => 1,
- 'w0' => 1,
- 'e0' => 1,
- 'r0' => 1,
- 't0' => 1,
- 'y0' => 1,
- 'n0' => 1,
- 'u0' => 1,
- 'i1' => 2
- );
- function test1(){
- global $abc;
- RTDEBUG::addLog($abc,RTDEBUG::LEVEL_LOG);
- }
- function test2(){
- global $abc;
- RTDEBUG::addLog('test!!!!!!',RTDEBUG::LEVEL_DEBUG);
- RTDEBUG::addLog('test!!!!!!',RTDEBUG::LEVEL_WARNING);
- RTDEBUG::addLog('test!!!!!!',RTDEBUG::LEVEL_ERROR);
- }
- test1();
- test2();
|