Sort of like,
PHP Code:
function onCreated()
{
temp.array.add(2);
temp.array.add("hi!");
temp.array.add("bogan");
for (t=0; t<temp.array.size(); t++)
if (temp.array[t] == "hi!")
{
thiso.pointer = temp.array[t];
thiso.pointer.var = "woo";
break;
}
echo(this.pointer.var);
}
I think the index will have to have a non-null value before you can assign values to it unless you add an object instead.
[Edit]
Confirmed
PHP Code:
function onCreated()
{
temp.array[0] = "hi";
temp.array[1].var = "yes";
echo(temp.array[1].var);
}
doesn't work =(