3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class o { function __set($name,$val) { $me= $this; $name= 'set_'.$name; if(method_exists($me,$name)) $me->{$name}($val); else $me->{$name}= $val; // causing infinite recursion } } $o= new o; $o->some_prop= 10; // infinite recursion occurs
Output for 7.0.0 - 7.1.0
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 24576 bytes) in /in/BAEqo on line 7
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: Stack overflow in /in/BAEqo on line 11
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: Stack overflow in /in/BAEqo on line 6
Process exited with code 255.
Output for 5.6.8 - 5.6.28
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15874 bytes) in /in/BAEqo on line 7
Process exited with code 255.
Output for 5.5.24 - 5.5.35
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15874 bytes) in /in/BAEqo on line 8
Process exited with code 255.
Output for 5.4.0 - 5.4.45
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15894 bytes) in /in/BAEqo on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15810 bytes) in /in/BAEqo on line 8
Process exited with code 255.
Output for 5.2.2 - 5.2.17
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15962 bytes) in /in/BAEqo on line 8
Process exited with code 255.
Output for 5.2.1
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15966 bytes) in /in/BAEqo on line 7
Process exited with code 255.
Output for 5.1.1 - 5.2.0

Process exited with code 139.
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/BAEqo on line 16
Process exited with code 255.
Output for 4.3.0 - 5.0.5