Giter Site home page Giter Site logo

Comments (10)

hulkur avatar hulkur commented on May 22, 2024 9

In php.ini set pcre.jit=0

from tinker.

 avatar commented on May 22, 2024 2

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

bobthecow/psysh#540 (comment)

from tinker.

driesvints avatar driesvints commented on May 22, 2024 1

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.

from tinker.

dportalesr avatar dportalesr commented on May 22, 2024

I can confirm this.

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

from tinker.

belguinan avatar belguinan commented on May 22, 2024

Same issue.

from tinker.

hedii avatar hedii commented on May 22, 2024

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

from tinker.

dinhquochan avatar dinhquochan commented on May 22, 2024

Same issue.

from tinker.

driesvints avatar driesvints commented on May 22, 2024

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.

from tinker.

driesvints avatar driesvints commented on May 22, 2024

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.

from tinker.

driesvints avatar driesvints commented on May 22, 2024

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

from tinker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.