function testin()
{
$var[1] = "a";
$var[2] = "b";
$var[21] = "c";
echo($var[1]);
echo($var[2]);
echo($var[21]);
deleteVariables("$var[2]");
echo($var[1]);
echo($var[2]);
echo($var[21]);
}
returns:
a
b
c
a
b
c
nothing happened.
i tryed adding the wildcard, and it seems it doesent work with the [ and ]'s.