阅读背景:

将对象转换为数组时,删除_(下划线)

来源:互联网 

According to the Zend framework naming conventions private variables should start with _ (underscore). But it cause problems when converting an object to an array (casting). The array element keys start with "_". How can I remove the underscore while converting an object to array?According to the Zend framework naming conventi




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

分享到: