google-code-export / firephp

Automatically exported from code.google.com/p/firephp
1 stars 0 forks source link

Unexpected T_CONST #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What versions and operating system are you using?

OS: Windows XP Professional
Firefox: 3.6.12
Firebug: 1.6.0
FirePHP Server Library: 0.3.2
FirePHP Extension: ?

What is the problem?
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in /.../html/FirePHPCore/FirePHP.class.php on line 80

What steps will reproduce the problem?
1. requiring FirePHP in index.php per instructions
2.
3.

What is the expected output? What do you see instead?
FirePHP is enabled and shows in the browser, but after including it, I get this:

Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in /.../html/FirePHPCore/FirePHP.class.php on line 80

Please provide any additional information below.
Line 80 reads:
const VERSION = '0.3';    // @pinf replace '0.3' with '%%package.version%%'

I tried a couple of things here, but nothing helped.

Original issue reported on code.google.com by c...@cydward.com on 7 Dec 2010 at 11:34

GoogleCodeExporter commented 9 years ago
What PHP version are you using?

If using PHP4 use the FirePHP.class.php4 class instead.

Original comment by christ...@christophdorn.com on 8 Dec 2010 at 8:08

GoogleCodeExporter commented 9 years ago

Original comment by christ...@christophdorn.com on 24 May 2011 at 11:38