Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tinker not working with php7.3 #26906

Closed
hedii opened this issue Dec 19, 2018 · 4 comments
Closed

Tinker not working with php7.3 #26906

hedii opened this issue Dec 19, 2018 · 4 comments

Comments

@hedii
Copy link
Contributor

hedii commented Dec 19, 2018

  • Laravel Version: 5.7.19
  • PHP Version: 7.3.0
  • Database Driver & Version: NA

Description:

Tinker exit unexpectedly whatever you enter in it.

Steps To Reproduce:

with php7.3, it exit when I type:

$ php artisan tinker
Psy Shell v0.9.9 (PHP 7.3.0 — cli) by Justin Hileman
>>> $test = 'eee';
$

with php7.2, it is ok:

$ php artisan tinker
Psy Shell v0.9.9 (PHP 7.2.12-1+0~20181112102304.11+stretch~1.gbp55f215 — cli) by Justin Hileman
>>> $test = 'eee';
=> "eeee"

tested with an other version of laravel as well (5.7.15)

more info on my php version:

php -v
PHP 7.3.0 (cli) (built: Dec  7 2018 11:00:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.0, Copyright (c) 1999-2018, by Zend Technologies
@driesvints
Copy link
Member

Heya. Please use the issue tracker on the Tinker repo to report issues with Tinker. Also see laravel/tinker#63

@dvlpr0077
Copy link

when update to php 7.3.0 tinker exit unexpectedly
please help me
tnx

screen shot 2018-12-25 at 7 29 27 pm

@devcircus
Copy link
Contributor

Search the issues here. This has been discussed.

@davidvegacl
Copy link

davidvegacl commented May 21, 2019

If you are using Mac OS Mojave and PHP 7.3.x installed with homebrew, here is a fix:
https://stackoverflow.com/a/53826601/2840335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants