摘要: 今天看到一个写法,因为自己没怎么用过所以记录一下 $args = ['a','b','c','string',18]; $obj = new Index(); $method = 'get_string'; $result = [$obj, $method](...$args); 上面代码运行打印得 阅读全文
posted @ 2023-04-20 16:12 拾柒丷 阅读(20) 评论(0) 推荐(0) 编辑