3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $counter = 100; while($counter--) { $obj = new stdCls; $obj->obj = $obj; $obj->string = str_repeat('1', 1024); }
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'stdCls' not found in /in/PIpYR:5 Stack trace: #0 {main} thrown in /in/PIpYR on line 5
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Class 'stdCls' not found in /in/PIpYR on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: stdcls in /in/PIpYR on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: stdcls in /in/PIpYR on line 5