2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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()));

参考

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

2
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?