阅读背景:

PHP - 将int键转换为字符串?

来源:互联网 

I have a few large PHP functions written some time ago. They contain some associative arrays. Until now, I had no problem with these arrays because they contained keys of type string and int (like "brown" and 118). The problem is, when the keys are all int, they are not kept, instead the are converted to 0, 1 etc.I have a few large PHP functions written some t




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

分享到: