3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $recursive_array = array(); $recursive_array[] = &$recursive_array; $recursive_array2 = array(); $recursive_array2[] = &$recursive_array2; if ($recursive_array === $recursive_array2) { //Fatal error: Nesting level too deep - recursive dependency? return true; } return false;
Output for 4.3.2 - 7.1.0
Fatal error: Nesting level too deep - recursive dependency? in /in/OBRmJ on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Nesting level too deep - recursive dependency? in /in/OBRmJ on line 7