DaveC426913
Programmer
I want to log the inner workings of my code. I downloaded this Logger file: which seems simple enough, but it doesn't work.
I suspect I'm hitting compatibiltiy issues, since this was originally built for PHP3.
Still , I can't see why it's choking on the code at that line.
I tried throwing away the boolean values and using 0/1 strings but that wasn't the problem.
Parse error: unexpected '(', expecting ',' or ';' in class.Logger.php3 on line 31
I suspect I'm hitting compatibiltiy issues, since this was originally built for PHP3.
Still , I can't see why it's choking on the code at that line.
I tried throwing away the boolean values and using 0/1 strings but that wasn't the problem.
Parse error: unexpected '(', expecting ',' or ';' in class.Logger.php3 on line 31
Code:
25 Class Logger
26 {
27
28 var $FILELIST = array();
29 var $ROOT = "";
30 var $WIN32 = false;
31 var $PID = getmypid();
var $FORMAT = "%b %d %H:%M:%S";
var $DEBUG = true;