summaryrefslogtreecommitdiff
path: root/tests/classes/interface_instantiate.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/interface_instantiate.phpt')
-rw-r--r--tests/classes/interface_instantiate.phpt16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/classes/interface_instantiate.phpt b/tests/classes/interface_instantiate.phpt
deleted file mode 100644
index d13bb9a6a0..0000000000
--- a/tests/classes/interface_instantiate.phpt
+++ /dev/null
@@ -1,16 +0,0 @@
---TEST--
-ZE2 An interface cannot be instantiated
---SKIPIF--
-<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
---FILE--
-<?php
-
-interface if_a {
- abstract function f_a();
-}
-
-$t = new if_a();
-
-?>
---EXPECTF--
-Fatal error: Cannot instantiate interface if_a in %s on line %d