Is this behavior expected?

From: Date: Sun, 03 Oct 2010 05:40:10 +0000
Subject: Is this behavior expected?
Groups: php.internals 
Request: Send a blank email to internals+get-49841@lists.php.net to get a copy of this message
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

« previous php.internals (#49841) next »