阅读背景:

如何避免在php中使用数组作为类常量?

来源:互联网 

I have a class with a static method. There is an array to check that a string argument passed is a member of a set. But, with the static method, I can't reference the class property in an uninstantiated class, nor can I have an array as a class constant.I have a class with a static method. There is a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: