unset $arr[$key];
Shouldn't it be :
unset($query[$key]);
unset $arr[$key];
Shouldn't it be :
unset($query[$key]);
If I understand you correctly then it would be called a language construct, such as echo
.
isset and unset are actually implemented as PHP unary operators also, so they can be used without parens.