PHP 的ArrayAccess接口 像数组一样来访问你的PHP对象 复制代码 代码如下: interface ArrayAccess boolean offsetExists($index) mixed offsetGet($index) voi PHP编程 2022-04-08 280 点赞 4 评论 424 浏览