1--TEST--
2ZE2 An interface method cannot be private
3--SKIPIF--
4<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
5--FILE--
6<?php
7
8interface if_a {
9	abstract private function err();
10}
11
12?>
13--EXPECTF--
14
15Fatal error: Access type for interface method if_a::err() must be omitted in %s on line %d
16