I have a problem in a line of my code. On localhost it works smoothly. On host, it displays this error:
Parse error: syntax error, unexpected ':' in (..../library.php) on line 94
This is line 94:
$Pay['environment'] = getenv('PAY_ENV') ?: self::PAY_ENV;
PHP Version 5.2.17. Any help would be appreciated.