php-src/tests/classes/inheritance_003.phpt

22 lines
288 B
Plaintext
Raw Normal View History

2006-05-30 23:11:13 +00:00
--TEST--
ZE2 method inheritance without interfaces
--FILE--
<?php
class A
{
function f($x) {}
}
class B extends A
{
function f() {}
}
?>
===DONE===
--EXPECTF--
Strict Standards: Declaration of B::f() should be compatible with A::f($x) in %sinheritance_003.php on line %d
2009-04-25 21:12:23 +00:00
===DONE===