Skip to content

Commit 9348a6c

Browse files
author
Carlo Pietrobattista
committed
debugger & logger examples
1 parent 34d2e1e commit 9348a6c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/ptcdebug-ex.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?
22
//session_start(); # start session for persistent debugging
3-
3+
4+
$_GET['debug']=true; # turn on the debug
5+
6+
//$_GET['debugOff']=true; # turn off debug
7+
48
require_once('../PtcDebug.php'); # include the PtcDebug class
59

610
$options=array
@@ -30,8 +34,6 @@
3034

3135
PtcDebug::bufferLog(array("dasd"=>"dasdsa","daasd"=>"23333333"),'some other statement');
3236

33-
test();
34-
3537
function ddas()
3638
{
3739
fopen();

0 commit comments

Comments
 (0)