3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php trait Foo { abstract public function getContainer(); } trait Bar { abstract public function getContainer(); } class Baz { use Foo, Bar; public function getContainer() { } }
Output for 5.4.10 - 7.3.1
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_STRING in /in/sn9g2 on line 4
Process exited with code 255.