3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Void { } $a = new Void(); var_dump($a);
based on De7b9
Output for 7.1.0 - 7.2.0
Fatal error: Cannot use 'Void' as class name as it is reserved in /in/8NSJZ on line 3
Process exited with code 255.
Output for 5.3.19 - 7.0.20
object(Void)#1 (0) { }