You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ php segfault.php
Fatal error: Uncaught Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames in /tmp/segfault/vendor/myclabs/deep-copy/src/DeepCopy/TypeMatcher/TypeMatcher.php on line 27
The text was updated successfully, but these errors were encountered:
No worries, and feel free to close this report. I ran into this while working on some PHPUnit internals and suddenly a test for a weird edge case that uses such a data structure triggered this crash. I'll investigate this on my end, maybe we can simply delete the test (and document the fact that such weird data structures are not supported).
It would be nice if DeepCopy could detect array structures that lead to infinite loops.
segfault.php
Without Xdebug
With Xdebug
The text was updated successfully, but these errors were encountered: