summaryrefslogtreecommitdiff
path: root/tests/classes/interface_member.phpt
blob: 329c0728b54150413a1dcc5f5c87c308801c211a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
ZE2 An interface cannot have properties
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
--FILE--
<?php

interface if_a {
	public $member;
}
?>
--EXPECTF--
Fatal error: Interfaces may not include member variables in %s on line %d