阅读背景:

如何在PHP中使用内部类?

来源:互联网 

I'm from a Java background, and I want to use an inner class in php. Every time I put the inner class though, I get a syntax error. Is this possible with PHP? Also, how do I reference the outer class? Do I get access to ALL its data members?I'm from a Java background, and I want to use a




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

分享到: