3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ParametersInterface {} class Parameters implements ParametersInterface {} abstract class AbstractPidor { abstract public function play($p) {} } class Pidor extends AbstractPidor { public function play($p, $p2) {} }
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Fatal error: Abstract function AbstractPidor::play() cannot contain body in /in/8YmIQ on line 8
Process exited with code 255.

preferences:
154.29 ms | 1395 KiB | 36 Q