mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
13 lines
217 B
PHP
13 lines
217 B
PHP
--TEST--
|
|
ZE2 An interface method cannot be final
|
|
--FILE--
|
|
<?php
|
|
|
|
class if_a {
|
|
abstract final function err();
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
|
|
Fatal error: Cannot use the final modifier on an abstract class member in %s on line %d
|