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

Implement eval cache #757

Open
zobo opened this issue Feb 25, 2022 · 0 comments · Fixed by #764
Open

Implement eval cache #757

zobo opened this issue Feb 25, 2022 · 0 comments · Fixed by #764
Assignees
Labels

Comments

@zobo
Copy link
Contributor

zobo commented Feb 25, 2022

PhpStorm uses a hack to keep eval results reachable and traversable:

eval( '$GLOBALS['eval_cache'][$uuid] = .... );

Refs:
#755 (comment)
https://github.com/xdebug/xdebug/pull/816/files
https://bugs.xdebug.org/view.php?id=2053

@zobo zobo added the feature label Feb 25, 2022
@zobo zobo self-assigned this Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant