- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.23, 5.5.0 - 5.5.7
- Fatal error: Interface function I::z() cannot contain body in /in/GJQAP on line 6
Process exited with code 255.
<?php
class A{}
class B extends A{}
interface I{
public function z(A $var){}
}
class M implements I{
public function z(A $var){}
}