mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
13 lines
331 B
PHP
13 lines
331 B
PHP
--TEST--
|
|
ZE2 An abstract class must be declared abstract
|
|
--FILE--
|
|
<?php
|
|
|
|
class fail {
|
|
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 %s on line %d
|