Whenever I type php artisan tinker into my terminal, it opens up the area for it, however, whenever I type any command into it and press Enter, it just exits tinker without doing anything. This happens when I open it in sudo mod as well, I also tried other terminal apps, didn't work. I use ZShell and MacBook Air 2012.
It's a tinker issue, not laravel. Laravel just uses the tinker package. Yes, I'm surprised Tinker doesn't check the version of php being used and add that flag automatically.