1--TEST-- 2ZE2 A class that inherits an abstract method is abstract 3--SKIPIF-- 4<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?> 5--FILE-- 6<?php 7 8abstract class pass { 9 abstract function show(); 10} 11 12abstract class fail extends pass { 13} 14 15$t = new fail(); 16$t = new pass(); 17 18echo "Done\n"; // Shouldn't be displayed 19?> 20--EXPECTF-- 21 22Fatal error: Cannot instantiate abstract class fail in %s on line %d 23