Array



examples/intro/array.php
<h1>Arrays</h1>
Arrays are ordered list of values
<br />


<?php

$fibonacci = array(1, 1, 2, 3, 5, 8, 13, 21, 34);
$fibo[0] = 1;
$fibo[1] = 1;
$fibo[2] = 2;
$fibo[3] = 3;
$fibo[4] = 5;
$fibo[5] = 8;
$fibo[6] = 13;

?>

<?php
print $fibonacci[6];
?>