1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/Zend/tests/bug32427.phpt
2020-02-03 22:52:20 +01:00

20 lines
341 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