Annotation of embedaddon/php/Zend/tests/exception_005.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Trying to throw exception of an interface
3: --FILE--
4: <?php
5:
6: interface a { }
7:
8: throw new a();
9:
10: ?>
11: --EXPECTF--
12: Fatal error: Cannot instantiate interface a in %s on line %d