Jump to content

Help with an error message


Looktrne

Recommended Posts

My error log is showing this error:

 

[04-Jun-2009 07:11:48] PHP Parse error:  syntax error, unexpected ';', expecting T_STRING or T_VARIABLE or '{' or '$' in /home/meetan5/public_html/smartway/lib/system.lib(333) : eval()'d code on line 1

[04-Jun-2009 07:11:48] PHP Parse error:  syntax error, unexpected ';', expecting T_VARIABLE or '$' in /home/meetan5/public_html/smartway/lib/system.lib(334) : eval()'d code on line 1

 

the code producing the error is inside a function here are the lines

 

eval("global \$".strtolower((strpos($token, "[") ? substr($token, 0, strpos($token, "[")) : $token)).";");
				eval("\$sVal = \$".strtolower($token).";");

 

could anyone let me know why this is throwing an error?

 

thanks

 

Paul

Link to comment
https://forums.phpfreaks.com/topic/161000-help-with-an-error-message/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.