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