You most likely have an incorrect version of PHP - on CLI, check with php -v and on your development/production server check using phpinfo().
Remedial action will vary depending on your OS.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have updated laravel to 5.3 and I have error:
Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in my_project_path/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 475
I have php 7. Can anyone give me some advice?
Please or to participate in this conversation.