summaryrefslogtreecommitdiff
path: root/Zend/tests/access_modifiers_007.phpt
blob: a34e1940d5e99e07cfb2ada6992bc032974fec87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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