阅读背景:

PHP json_encode类私有成员

来源:互联网 

I'm trying to JSON encode some objects in PHP, but I'm facing a problem: I want to encode data which is kept by a class private members. I found this piece of code to encode this object by calling an encode function like:I'm trying to JSON encode some objects in PHP,




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

分享到: