xref: /PHP-7.2/tests/classes/abstract_final.phpt (revision f1d7e3ca)
1--TEST--
2ZE2 A final method cannot be abstract
3--FILE--
4<?php
5
6class fail {
7	abstract final function show();
8}
9
10echo "Done\n"; // Shouldn't be displayed
11?>
12--EXPECTF--
13Fatal error: Cannot use the final modifier on an abstract class member in %s on line %d
14