Both the $myVar assignment in line 1 and the $higher assignment in line 2
are dead. The first because $myVar is never used and the second because
$higher is always overwritten for every possible time line.
Loading history...
23
24
10
return;
25
}
26
27
8
$nestedConfig = $nestedConfig[$configKey];
28
8
}
29
8
}
30
31
20
if (array_key_exists($lastParam, $nestedConfig)) {
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: