3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IFoo { public static function method(); } function () implements IFoo {};
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/2AiUV on line 6
Process exited with code 255.

preferences:
177.07 ms | 1395 KiB | 68 Q