当前位置:Gxlcms > PHP教程 > 请教代码报错原因

请教代码报错原因

时间:2021-07-01 10:21:17 帮助过:15人阅读

start=1;$test1->end=100;$test1->add();?>

这段代码为什么会报错呢?


回复讨论(解决方案)

第8 行应为
foreach(range( $this->start, $this->end) as $v){

非常感谢版主!

人气教程排行