PHP Classes

parse error

Recommend this page to a friend!

      gDNS  >  All threads  >  parse error  >  (Un) Subscribe thread alerts  
Subject:parse error
Summary:I get a parse error
Messages:3
Author:sander berg
Date:2007-01-04 16:46:51
Update:2009-01-07 18:15:15
 

  1. parse error   Reply   Report abuse  
Picture of sander berg sander berg - 2007-01-04 16:46:51
Hi,

I get the following error:
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}

Sincerely,
Baris

  2. Re: parse error   Reply   Report abuse  
Picture of kamalakar kamalakar - 2007-01-04 17:29:34 - In reply to message 1 from sander berg
Hi,
Baris the code is working fine, i had rested it well
it requires php5+

  3. Re: parse error   Reply   Report abuse  
Picture of david bowman david bowman - 2009-01-07 18:15:15 - In reply to message 2 from kamalakar
Confirmed, parse error under PHP v4.3.4

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /home/webadmin/mysite.com/html/gDNS.php on line 32

It's not really a parse error, so no amount of looking through the code will fix the problem. You just need to upgrade to PHP v5.