Remove the non-implemented versions of the sandbox _array() functions
Use the ARRAY_LENGTH macro more consistently.