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? echo 'true'; } echo 'false';
based on O03Hl
Output for 4.3.2 - 7.1.0
Fatal error: Nesting level too deep - recursive dependency? in /in/PdITq 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/PdITq on line 7