<?php
interface I{
function __construct(array $test);
}
trait T{
function __construct(array $test){
}
}
class Mother implements I{
use T;
}
class Children extends Mother{
function __construct(){
}
}
$children=new Children();
Fatal error: Declaration of Children::__construct() must be compatible with I::__construct(array $test) in /in/ZSLU6 on line 17
Process exited with code 255.
Fatal error: Declaration of Children::__construct() must be compatible with I::__construct(array $test) in /in/ZSLU6 on line 16
Process exited with code 255.