php get n elements from array code example Example: php get all values from array array_values(array)