- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
- Fatal error: Class sword contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (weapon::fire) in /in/1D7Jv on line 11
Process exited with code 255.
<?php
ini_set('display_errors',1);
error_reporting(E_ALL);
abstract class weapon
{abstract function fire();}
class sword extends weapon
{}
echo 'hello world';