1

How i can fix this syntax error in php 5.3.28 ?

PHP Parse error: syntax error, unexpected '.', expecting ',' or ';' in /home/......

protected $callback = DOMAIN.FOL_DIR.'/index/payment_back' ;

It work true at php 7 .

thanks

J.cary
  • 19
  • 1

2 Answers2

0

PHP 5.3 doesn't support constant scalar expressions. You need PHP 5.6 or newer for that.

Shira
  • 6,392
  • 2
  • 25
  • 27
0

You have to use at lease PHP 5.6 to execute scalar expression. So please upgrade your PHP version and try.

Thanks...