We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code:
<?php class Node { public $next; } $first = new Node(); $first->next = $first; $new = new Node(); $new->next = $new; var_dump($first == $new);
Resulted in this output:
Fatal error: Nesting level too deep - recursive dependency? in /in/qWtA7 on line 13
But I expected this output instead:
bool(true)
online repro: https://3v4l.org/AZV6v and https://3v4l.org/SttGY
The issue is present also for other "weak comparison operators" like <.
<
any
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The following code:
Resulted in this output:
But I expected this output instead:
online repro: https://3v4l.org/AZV6v and https://3v4l.org/SttGY
The issue is present also for other "weak comparison operators" like
<
.PHP Version
any
The text was updated successfully, but these errors were encountered: