3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = &new int(3); val_dump($a);
based on AElOQ
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected 'new' (T_NEW) in /in/IfAoe on line 2
Process exited with code 255.
Output for 5.3.21 - 5.6.16
Deprecated: Assigning the return value of new by reference is deprecated in /in/IfAoe on line 2 Fatal error: Class 'int' not found in /in/IfAoe on line 2
Process exited with code 255.