Try this:
PHP Code:
function onCreated() {
temp.arr = {
0, 1, 2, 3, 4, 5
};
temp.arr.insert(3, 2.5); // Inserts 2.5 in arr[3]
temp.arr.remove(5); // Removes an instance of 5 from array
temp.arr.delete(0); // Deletes arr[0] from array
temp.arr.replace(1, "1.lolz"); // Replaces arr[1] with "1.lolz"
echo(temp.arr); // echos "1,1.lolz,2.5,3,4"
}
I told you this before in the beta thread, you should post your usage of the functions with your reports.