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