Salut,

à votre avis il vaut mieux faire :


if(isset($tab[$indice])) ...
ou bien

if(array_key_exists($indice, $tab)) ...