PHP Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION
Posted
by Douglas Santos Pinto
on Stack Overflow
See other posts from Stack Overflow
or by Douglas Santos Pinto
Published on 2009-08-17T16:03:05Z
Indexed on
2010/04/10
13:13 UTC
Read the original article
Hit count: 581
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
© Stack Overflow or respective owner