1--TEST--
2abstract final methods errmsg
3--FILE--
4<?php
5
6class test {
7    final abstract function foo();
8}
9
10echo "Done\n";
11?>
12--EXPECTF--
13Fatal error: Cannot use the final modifier on an abstract method in %s on line %d
14