blob: 3570b359289bdcf0951f71e6bae3c0518b79757d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
ZE2 An interface method must be abstract
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
--FILE--
<?php
interface if_a {
function err() {};
}
?>
--EXPECTF--
Fatal error: Interface function if_a::err() cannot contain body %s on line %d
|