我的阵列有问题。
$mini_one = array(
"in" => "#pp1",
"ot" => "the-r1",
"fn" => "the_r1()",
"js" => "$('the-r1').val($('#pp1').val());",
"ep" => "not tested"
);
$mini_two = array(
"in" => "#pp1",
"ot" => "the-r1",
"fn" => "the_r1()",
"js" => "$('the-r1').val($('#pp1').val());",
"ep" => "not tested"
);
//these are different but i just c/p it to show more than one array
//inside of $big_array
$big_array = array($mini_one,$mini_two);
但是当我用 is_array() 测试 big_array 时它返回 false,它在我的 foreach 循环中也不起作用。
我想知道为什么它不是一个数组?,我怎样才能把它变成一个正确的数组?,现在,它被认为是什么类型的构造?