bug32427.phpt 345 Bytes
Newer Older
1
--TEST--
2
Bug #32427 (Interfaces are not allowed 'static' access modifier)
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
--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