Why is the range() PHP function not working ?

This function is supposed to display elements in the array ranging them from 1 to 10 .... But all it gives me as output is Array .... Below is my code

<?php


$numbers = array(1,3,5,2,4,8,6,9,7,10);
$numbers = range(1,10);

echo $numbers;

?>


OUTPUT

Array
 
Back
Top