mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
20 lines
324 B
Plaintext
20 lines
324 B
Plaintext
|
--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
|