File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / classes / inheritance_003.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:48:06 2012 UTC (12 years, 6 months ago) by misho
Branches: php, MAIN
CVS tags: v5_3_10, HEAD
php

--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 that of A::f() in %sinheritance_003.php on line %d
===DONE===

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>