3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IFoo { public function foo(); } interface IBar extends IFoo { public function bar(); } function () implements IBar {};
Output for 5.5.0 - 5.5.34, 5.6.0 - 5.6.20, 7.0.0 - 7.0.5
Parse error: syntax error, unexpected 'implements' (T_IMPLEMENTS), expecting '{' in /in/qLbPv on line 9
Process exited with code 255.

preferences:
199.98 ms | 1387 KiB | 68 Q