blob: 9c81970cc2d0c1c6304809f2a9a9c392f5ddbcdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--TEST--
ZE2 method inheritance without interfaces
--FILE--
<?php
class A
{
function f() {}
}
class B extends A
{
function f($x) {}
}
?>
===DONE===
--EXPECTF--
Strict Standards: Declaration of B::f() should be compatible with that of A::f() in %sinheritance_004.php on line %d
===DONE===
|