Bahjaat
4 weeks ago
263
11
Laravel

php artisan tinker throws Parse error (unexpected T_PAAMAYIM_NEKUDOTAYIM)

Posted 4 weeks ago by Bahjaat

Somewhere lost today. Already cleared the vendor folder and updated packages one after another. Also removed a couple of packages. Nothing helped.

How to debug this?

php artisan tinker

>>> \URL::to('test');
PHP Parse error: Syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting '(' on line 1

>>> \App\User::first();
PHP Parse error: Syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting '(' on line 1

Please sign in or create an account to participate in this conversation.