Laravel Tinker runs in Terminal, but anytime I try to get it to compute anything it exits and returns to the command line. This is a typical terminal command which I try, and Tinker exits without doing anything every time I press the Enter button.
USER-MBP:blog name$ php artisan tinker
Psy Shell v0.9.9 (PHP 7.3.1 — cli) by Justin Hileman
>>> 2 + 2
USER-MBP:blog name$
I would expect the next line of after 2 + 2 to be 4 yet when I press enter it does not compute and exits back out to the Terminal command line.