3v4l.org

run code in 200+ 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 OBRmJ
Output for 4.3.2 - 7.2.0
Fatal error: Nesting level too deep - recursive dependency? in /in/O03Hl 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/O03Hl on line 7