I am getting below error whenever i run any command of php artisan, please check and help me out:
Parse error: parse error, expecting '&'' or"variable (T_VARIABLE)"' in /Users/Aditya/Documents/laravel/Gapp/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 475
I am using same php version on windows and it's working absolutely fine on windows. And i have same php version on mac but it's giving me this error on mac.
Thanks everyone for support. I just got the issue, mac's default php version is 5.5 so whenever i open terminal i have to run export PATH=/usr/local/php5/bin:$PATH this command to use php 5.6 commands. Everything is working fine now.
Searching for how to change mac's default php version :P