xref: /PHP-8.2/Zend/tests/bug32427.phpt (revision f8d79582)
1--TEST--
2Bug #32427 (Interfaces are not allowed 'static' access modifier)
3--FILE--
4<?php
5
6interface Example {
7    public static function sillyError();
8}
9
10class ExampleImpl implements Example {
11    public static function sillyError() {
12        echo "I am a silly error\n";
13    }
14}
15
16ExampleImpl::sillyError();
17?>
18--EXPECT--
19I am a silly error
20