i need to call similar variable on shortest way.
$test = new stdClass();
$test->var0=0;
$test->var1=1;
$test->var2=2;
And now i need to echo all 3 variables in for cycle, not like this:
echo $test->var0;
echo $test->var1;
echo $test->var2;