3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $obj = & new stdClass();
Output for 7.0.0 - 7.0.6
Parse error: syntax error, unexpected 'new' (T_NEW) in /in/6ualt on line 3
Process exited with code 255.
Output for 4.3.0 - 4.4.9, hhvm-3.10.0 - 3.13.2
Output for 5.3.0 - 5.6.28
Deprecated: Assigning the return value of new by reference is deprecated in /in/6ualt on line 3
Output for 5.0.0 - 5.2.17
Strict Standards: Assigning the return value of new by reference is deprecated in /in/6ualt on line 3