mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
20 lines
326 B
PHP
20 lines
326 B
PHP
--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
|