laravel/tinker

Using --execute option produces no output

bosunski opened this issue · 2 comments

  • Tinker Version: v2.5.0
  • Laravel Version: 8.15.0
  • PHP Version: 7.4.12
  • Database Driver & Version:

Description:

The execute option seems to not be working when used. It doesn't give an output when you use the option.

Steps To Reproduce:

Run php artisan tinker --execute="[1, 2, 3, 4]"

It's silent:

main $ php artisan tinker --execute="echo 'test'" 
test<aside></aside>

Thanks @driesvints !