Here is much more detailed description of PHP array functions: php.net/manual/en/book.array.php