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

Not working after upgrade to PHP 7.3.0 #63

Closed
dciancu opened this issue Dec 8, 2018 · 10 comments
Closed

Not working after upgrade to PHP 7.3.0 #63

dciancu opened this issue Dec 8, 2018 · 10 comments
Labels

Comments

@dciancu
Copy link

dciancu commented Dec 8, 2018

  • Laravel Version: 5.7.16
  • PHP Version: 7.3.0

Please advise if this is a PsyShell bug, in which case I will file this issue at their repo.

After upgrading PHP to 7.3.0 - latest version (and Xdebug to 2.7.0beta1 latest version compatible with PHP 7.3, in case it matters), tinker is no longer working. It launches correctly but I after I input a command it just exits with no error, nothing written to log file and status code 0.

@dportalesr
Copy link

dportalesr commented Dec 8, 2018

I can confirm this.

Edit: I installed PsyShell separately, and the same issue is present, so looks like it's a PsyShell bug.

@ghost
Copy link

ghost commented Dec 10, 2018

Here's a workaround that appears to work until the issue is addressed:

bobthecow/psysh#540 (comment)

@driesvints
Copy link
Member

This indeed seems to be a PsyShell problem but I'm going to leave this open to follow up. Please wait until they solve it so we can release a patch with their fix.

@driesvints driesvints added the bug label Dec 10, 2018
@hulkur
Copy link

hulkur commented Dec 11, 2018

In php.ini set pcre.jit=0

@belguinan
Copy link

Same issue.

@hedii
Copy link

hedii commented Dec 19, 2018

Same for me (copy paste from laravel/framework#26906)

  • 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

@dinhquochan
Copy link

Same issue.

@driesvints
Copy link
Member

I'm going to lock this issue here because I doubt that anyone can contribute something useful here besides reporting that they also have the issue. If you have feedback on how to solve this please post on the issue from PsyShell.

@laravel laravel locked and limited conversation to collaborators Dec 21, 2018
@driesvints driesvints removed the bug label Mar 11, 2019
@driesvints driesvints pinned this issue Mar 11, 2019
@driesvints driesvints added the bug label Mar 11, 2019
@driesvints
Copy link
Member

I'm closing this issue as this isn't an issue with tinker itself. I've pinned the issue to the issue tracker for now so people who installed PHP with Homebrew can still find it easily.

@driesvints
Copy link
Member

FYI: as of PHP 7.3.11 this seems to be finally fixed: bobthecow/psysh#540 (comment)

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

Successfully merging a pull request may close this issue.

7 participants