how reliable is adding items to the end of an array with this code
i have always used code like this before
is one more accurate?
$array= array(); $array[] = 'index one'; $array[] = "index two";
i have always used code like this before
$array= array(); $array[count($array)] = 'index one'; $array[count($array)] = "index two";
is one more accurate?