我想在邏輯運算符內的數組中定義一個點。這可能嗎?PHP在邏輯運算符中定義數組變量
例如
$a = $deg[0];
$b = $deg[1];
$c = $deg[2];
$d = $deg[3];
$e = $deg[4];
if ($c == False){
$array['$a']['$b'][0][1] = $value;
} else {
if ($d == False){
$array['$a']['$b']['$c'][0][1] = $value;
} else {
if ($e == False){
$array['$a']['$b']['$c']['$d'][0][1] = $value;
}
是否有原因數組變量沒有被定義?
如果沒有變量的==假的? – Prisoner 2011-03-21 00:56:12