From: Marcus Boerger Date: Thu, 26 Feb 2004 20:11:28 +0000 (+0000) Subject: Fixes for abstract classes X-Git-Tag: RELEASE_0_2_0~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9346ff2de49889e3cbf47278074f67859abe7bf6;p=php Fixes for abstract classes --- diff --git a/tests/classes/abstract_derived.phpt b/tests/classes/abstract_derived.phpt new file mode 100644 index 0000000000..81cb3341ec --- /dev/null +++ b/tests/classes/abstract_derived.phpt @@ -0,0 +1,20 @@ +--TEST-- +ZE2 A derived class with an abstract method must be abstract +--SKIPIF-- + +--FILE-- + +===DONE=== + +--EXPECTF-- + +Fatal error: Class derived contains 1 abstract methods and must therefore be declared abstract (derived::show) in %sabstract_derived.php on line %d