[PHP] class initialization, force class to load


I try to access a static field on a class using Reflection but until I don’t access one of its field in non-dynamic way I get this error at runtime : Access to undeclared static property.

Is it possible to somehow force a class to load or to be initialized please ?


Sorry, false flag here, my fields were just removed, I addeed @:keep and it’s ok.
I go to have a rest and sleep :joy: