Tâche la plus compliquée dans un tableau en php

<?php$array = array();$array[] = 1;$array[] = 2; // get the first item in the arrayprint $array[0]; // prints 1 // get the last item in the arrayprint $array[count($array) - 1]; // prints 2
Annoyed Armadillo