Login   Register  
PHP Classes
elePHPant
Icontem

Parse error: syntax error, unexpected T_STRING

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      SMTP4PHP  >  All threads  >  Parse error: syntax error, unexpected T_STRING  >  (Un) Subscribe thread alerts  
Subject:Parse error: syntax error, unexpected T_STRING
Summary:in line 77
Messages:3
Author:Kerem Uçar
Date:2012-12-11 17:36:43
Update:2012-12-12 08:41:38
 

  1. Parse error: syntax error, unexpected T_STRING   Reply   Report abuse  
Picture of Kerem Ušar
Kerem Ušar
2012-12-11 17:36:43
I don't know if its me or the script but I get this error when I try to run the demo php (usage-example.php):

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in ... usage-example.php on line 77

Downloaded script "as is", nothing modified.

  2. Re: Parse error: syntax error, unexpected T_STRING   Reply   Report abuse  
Picture of Kerem Ušar
Kerem Ušar
2012-12-11 17:54:43 - In reply to message 1 from Kerem Ušar
ok, I think this is a result of running the script in php ver 5.2.x :)

I'm upgrading php to 5.3.x now.

  3. Re: Parse error: syntax error, unexpected T_STRING   Reply   Report abuse  
Picture of Raul IONESCU
Raul IONESCU
2012-12-12 08:41:38 - In reply to message 2 from Kerem Ušar
Requirements: "PHP versions 5.3 or greater"