Declaring an array

Posted by Doug on Stack Overflow See other posts from Stack Overflow or by Doug
Published on 2010-05-17T05:20:24Z Indexed on 2010/05/17 5:30 UTC
Read the original article Hit count: 325

Filed under:
$a[]="Anna";
$a[]="Brittany";
$a[]="Cinderella";
$a[]="Diana";
$a[]="Eva";
$a[]="Fiona";
$a[]="Gunda";

When declaring it this way, does it automatically increase the index? Why is this ideal?

© Stack Overflow or respective owner

Related posts about php