PHP Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in C:\Inetpub\wwwroot\webroot\www.novotempo.org.br\lib\Twitter.php on line 54
Hi, I´m Douglas from Brazil, and this above is my problem.
The line is just a DEFINE....
this one : define('DEBUG',false);
Searching the net I found that this usually occurs when you´re using PHP 4.xx, but I´m using 5.2.6 (Just saw it using phpinfo()
)
I tryed locally, and in two other external hosts, but it keeps returning the same msg.
Anyone can help? Tanx!
Doug
if
statement but forgot to comment the closing brace. That put my next line outside of the function definition. It was a call to a static class function, which PHP saw as an unexpected string literal, I suppose. – Buttle Butkus Jan 10 '14 at 1:22