I ran into this php syntax the other day and I am not familiar with it. I *guessed it might doing a push, but I really don't know. Is this *exactly the same as array_push($b). If it is accomplishing something *similar, please explain how it is different.
$foo = array();
foreach($bar as $b)
{
$foo[] = $b; //push?
}
array_pushcan push more than 1 element:array_push($array, $var1, $var2)is the same as$array[] = $var1; $array[] = $var2;