3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Test { } $b =& new Test();
Output for 5.3.3 - 5.6.28
Deprecated: Assigning the return value of new by reference is deprecated in /in/78Y2d on line 6
Output for 5.2.14 - 5.2.17
Strict Standards: Assigning the return value of new by reference is deprecated in /in/78Y2d on line 6