--TEST-- Dynamic class constant fetch DIM order --FILE-- getMessage(), "\n"; } } test(fn() => Foo::{foo()}::{bar()}); test(fn() => Foo::{bar()}::{foo()}); ?> --EXPECT-- foo() bar() Undefined constant Foo::BAR bar() Undefined constant Foo::BAR