mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +08:00
714aad97e7
add tests
14 lines
222 B
PHP
14 lines
222 B
PHP
--TEST--
|
|
abstract final methods errmsg
|
|
--FILE--
|
|
<?php
|
|
|
|
class test {
|
|
final abstract function foo();
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use the final modifier on an abstract class member in %s on line %d
|