Hyvor Developer
  Home   Download   Copy
Code
<?php
$fruits = ['Apple', 'Banana', 'Orange', 'Mango'];

echo "First Fruit is $fruits[0]" . '<br>';  
echo "Second Fruit is $fruits[1]" . '<br>';
echo "Third Fruit is $fruits[2]" . '<br>';
echo "Forth Fruit is $fruits[3]" . '<br>';
Result