LoginSignup
1
1

More than 5 years have passed since last update.

PHP7.1で eval(\Psy\Sh()); が効かない

Posted at

Laravelの homestead を使い始めたら、PHP7.1になってて、ソースコード中でeval(\Psy\Sh()); によるインタラクティブデバッグができなくなった。

php artisan tinker はできるけど。

代わりに下記でOK。

extract(\Psy\Shell::debug(get_defined_vars()));

参考

ありがとうございました。

1
1
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1