/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
tests
/
classes
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/tests/classes/abstract_redeclare.phpt
--TEST-- ZE2 A method cannot be redeclared abstract --FILE-- <?php class pass { function show() { echo "Call to function show()\n"; } } class fail extends pass { abstract function show(); } echo "Done\n"; // Shouldn't be displayed ?> --EXPECTF-- Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (fail::show) in %sabstract_redeclare.php on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure