Php arrays are not objects, it's an ordered map. The most relevant documentation is maybe the one concerning Arrays
As mike said, the only way to add a method for array manipulation is using ArrayObject
which is closer to array than what you can find in other languages.
But:
ArrayObject
implies the use of Iterator
, but it's OO.