Tuesday 3 October 2017

Laravel 5.5 Syntax error, unexpected '?' in

Parse error: syntax error, unexpected '?' in..\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php on line 233

 

As per https://laravel.com documentation PHP >= 7.0.0 version must be PHP 7.

If possible, use php 7+, even if the minimum for a particular laravel version is 5.6. PHP7 is leaps and bounds faster than 5.6 and uses less memory on top of that! The engine has been totally rewritten and It's literally almost 2x as fast as PHP 5.6.

So, finally i can say we must have php7 to use laravel5.5 version.

No comments:

Post a Comment

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in Laravel

  WampServer: Download this file:  http://curl.haxx.se/ca/cacert.pem Place this file in the  C:\wamp64\bin\php\php7.1.9  folder Open  php.in...

Popular Articles