jeudi 23 janvier 2020

Codeigniter : Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in Laravel project

I'm getting following error:

**Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)**

Note : It's working in local but facing issue in production server.

private const API_QUERY_PARAM = "api";
private const API_FILE_QUERY_PARAM = "f";
private const API_LOG_STYLE_QUERY_PARAM = "sline";
private const API_CMD_LIST = "list";
private const API_CMD_VIEW = "view";
private const API_CMD_DELETE = "delete";


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2sRhHu3
via IFTTT

Aucun commentaire:

Enregistrer un commentaire