Index specified by a boolean, a double, ant an int will be integer index via intval()exception: out of the range of 32bit integer Index specified by a string will be two type of index by the condition
/^[-]?[1-9][0-9]*$/