- Output for 5.4.0 - 5.4.10
- Fatal error: Declaration of Foo::__construct() must be compatible with AbstractFoo::__construct() in uImge on line 13
Process exited with code 255. - Output for 5.3.0 - 5.3.29
<?php
abstract class AbstractFoo
{
abstract public function __construct();
}
class Foo extends AbstractFoo
{
public function __construct($param)
{
}
}
$foo = new Foo('param');