File size: 288 Bytes
1e94262
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
ZE2 An abstract class must be declared abstract
--FILE--
<?php

class fail {
    abstract function show();
}

echo "Done\n"; // shouldn't be displayed
?>
--EXPECTF--
Fatal error: Class fail declares abstract method show() and must therefore be declared abstract in %s on line %d