summaryrefslogtreecommitdiff
path: root/Zend/tests/bug32427.phpt
blob: ee41021f51267f63f1fdca0226a35506b4b53298 (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