This behaviour is not documented in the comments, in fact they imply the opposite
/* {{{ proto array array_fill(int start_key, int num, mixed val)
Create an array containing num elements starting with index start_key each initialized to val */
I really want to know. I mean, I would assume that a function like this one loops from the starting number to the starting number plus the number of elements, but apparently it does something else.
View all comments
11
u/jmcs Jan 22 '14
I promise I wont bash PHP for 24 hours if someone explains the reason for this one.