[12:02:57] [debug] Run time error 4: "Array index out of bounds" [12:02:57] [debug] Attempted to read/write array eleme
#4

PHP Code:
[12:03:40] [debugAttempted to read/write array element at index 500 in array of size 500 
This means you have declared a variable which has 500 cells starting from 0 to 499.
You are trying to read/write at pos 500, thus out of bounds.

Numbers start from 0!

PHP Code:
new array[3]; 
means that correct indexes are

PHP Code:
array[0], array[1] and array[2], and not array[3
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)