1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 10:12:18 +01:00
Files
archived-php-src/tests/classes/inheritance_004.phpt
2009-04-25 21:12:23 +00:00

22 lines
294 B
PHP
Executable File

--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===