File size: 253 Bytes
1e94262
 
 
 
 
 
 
 
 
 
 
 
 
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 method in %s on line %d