阅读背景:

如何在PHP中创建一个静态变量来返回最后的数组索引?

来源:互联网 

I want to create a function which a static variable because I need to preserve the variable value between functions. The first way, this variable include the last index an array, and the value will be changed the second run. If I use count() to search the last array index, I get the following error: Parse error: parse error, expecting I want to create a function which a static vari




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

分享到: