"test", "1" => "test1", "2" => "test2" ); $num ="/> "test", "1" => "test1", "2" => "test2" ); $num =">
多重循环下如何防止变量超过数组索引
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> $arr = array( "0" => "test", "1" => "test1", "2" => "test2" ); $num = count($arr); for($i=0;$i