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

Don't restore global array variables items with null value #32

Open
vjik opened this issue Sep 16, 2021 · 3 comments · May be fixed by #33
Open

Don't restore global array variables items with null value #32

vjik opened this issue Sep 16, 2021 · 3 comments · May be fixed by #33
Labels

Comments

@vjik
Copy link

vjik commented Sep 16, 2021

Here should be array_key_exists instead of isset.

--

For example, before test I have $_ENV['MY_VAR'] = null. In second test element $_ENV['MY_VAR'] already not exists.

@sebastianbergmann
Copy link
Owner

Thank you for your report.

Please provide a minimal, self-contained, reproducing test case that shows the problem you are reporting.

Without such a minimal, self-contained, reproducing test case I will not be able to investigate this issue.

@vjik
Copy link
Author

vjik commented Sep 16, 2021

See #33

@vjik vjik linked a pull request Sep 16, 2021 that will close this issue
@vjik
Copy link
Author

vjik commented Sep 16, 2021

I will be very grateful if you make a patch release in version 5 with fixed of this error.

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.

2 participants