I'm having issues why this issue arose out of nowhere, the script I use hasn't been updated, nor the php server configuration has changed but I'm getting this erorr today
I upgraded my server to Php ver 5.6 from the standard 5.4 and this has fixed the issue, why did the ver stop processing this class all of a sudden?
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in
This is making use of kernel and this line is the app being run
I understand what a parse error and syntax error after reading, but the real question is why has this only become an issue now? The line used has no unexpected class from what I know and this server has been running 5.4 without issue up until today
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
As you can see it's making use of kernel correctly, only an upgrade to php5.6 has fixed the issue which makes no sense to me, did something become redundant all of a sudden that has altered the way 5.4 handles my request?