3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace K { class C { } } namespace { class A{ public function int() { } } class_alias('s', 'b'); new int(); }
based on uc4UO
Output for 7.0.0 - 7.2.0
Warning: Class 's' not found in /in/pFJkG on line 18 Fatal error: Uncaught Error: Class 'int' not found in /in/pFJkG:19 Stack trace: #0 {main} thrown in /in/pFJkG on line 19
Process exited with code 255.
Output for 5.3.19 - 5.6.21
Warning: Class 's' not found in /in/pFJkG on line 18 Fatal error: Class 'int' not found in /in/pFJkG on line 19
Process exited with code 255.