如何将交流发电机设置到初始位置?
代码:
foreach($items as $item):
foreach($sides as $side):
echo alternator('Left', 'Right');
endforeach;
//I want the alternator to "restart" here and always start from the initial variable "Left" in this case
endforeach;