1--TEST--
2ZE2 A class that inherits an abstract method is abstract
3--FILE--
4<?php
5
6abstract class pass {
7    abstract function show();
8}
9
10abstract class fail extends pass {
11}
12
13$t = new fail();
14$t = new pass();
15
16echo "Done\n"; // Shouldn't be displayed
17?>
18--EXPECTF--
19Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
20Stack trace:
21#0 {main}
22  thrown in %s on line %d
23