3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class classnam{} $obj = &new classname()
Output for 5.4.0 - 5.4.25
Deprecated: Assigning the return value of new by reference is deprecated in /in/WkuoO on line 5 Parse error: syntax error, unexpected end of file in /in/WkuoO on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Deprecated: Assigning the return value of new by reference is deprecated in /in/WkuoO on line 5 Parse error: syntax error, unexpected $end in /in/WkuoO on line 5
Process exited with code 255.