<?php
$search_tags = array(
"happy",
"summer",
"beach",
"glasses",
"umbrella",
"funny",
"people",
"music",
"rap"
);
$accounts = array(
"account A",
"account B",
"account C"
);
$accounts = new InfiniteIterator(new ArrayIterator($accounts));
foreach($search_tags as $tag) {
echo ucfirst($accounts->current()), PHP_EOL;
$accounts->next();
}
preferences:
39.4 ms | 402 KiB | 5 Q