errmsg_001.phpt 257 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
--TEST--
errmsg: Non-abstract method must contain body
--FILE--
<?php

abstract class test { 
} 

class Impl extends Test { 
	function Foo(); 
}

echo "Done\n";
?>
--EXPECTF--	
Fatal error: Non-abstract method Impl::Foo() must contain body in %s on line %d