Hello internals, I've occurred an inconsistent problem:
<?php
C::f();
abstract class C {
public static function f() {
echo 'foo';
}
}
?>
This works and print "foo".
<?php
C::f();
interface I {}
abstract class C implements I {
public static function f() {
echo 'foo';
}
}
?>
The result is "Fatal error: Class 'C' not found". Is this result expected?
Why?
--
Best regards,
Jingcheng Zhang
Beijing, P.R.China
