--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

{'avg_line_length': 15.5, 'max_line_length': 87, 'alphanum_fraction': 0.7004608294930875, 'licenses': ['BSD-3-Clause'], 'repository_name': 'MagicalTux/gophp', 'path': 'test/php-7.2.10/tests/classes/interface_method_final.phpt', 'size': 217, 'lang': 'PHP'}