All pastes #384248 Raw Edit

Something

public text v1 · immutable
·published 2007-03-06 22:51 UTC
rendered paste body
in #WoD
<GameDeV> $itms is a array with a whole bunch of those strings
<GameDeV>  foreach($itms as $itm) {
<GameDeV>   if($itm == $item) {
<GameDeV>   } else {
<GameDeV>    $itms += $itm;
<GameDeV>   }
<GameDeV>  }
<GameDeV> i get invalid types
<GameDeV> uncompatible types i mean
<GameDeV> so how do i stick $itm on to the back of $itms?