summaryrefslogtreecommitdiff
path: root/Zend/tests/bug32427.phpt
blob: 0a5cc4f8935772ce56c2086a6433641565360d33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #32427 Interfaces are not allowed 'static' access modifier
--FILE--
<?php

interface Example {
	public static function sillyError();
}

class ExampleImpl implements Example {
	public static function sillyError() {
		echo "I am a silly error\n";
	}
}

ExampleImpl::sillyError();
?>
--EXPECT--
I am a silly error