How to increment a variable?

Hello,
I am trying to use a “while” loop to create a bunch of variables, however it doesnt seem to be working. Is there a way to concatenate a variable name with another variable? Here is what I am trying to do:

$i=0
while($i<5) {
$my_var.$i="something";
$i++;
}

So I just want to get a series of variables ($my_var1, $my_var2, $my_var3,…) that are all equal to “something”;

Is it possable?
THanks!