1--TEST--
2ZE2 An interface cannot be instantiated
3--FILE--
4<?php
5
6interface if_a {
7 function f_a();
8}
9
10$t = new if_a();
11
12?>
13--EXPECTF--
14Fatal error: Uncaught Error: Cannot instantiate interface if_a in %s:%d
15Stack trace:
16#0 {main}
17 thrown in %s on line %d
18