In PHP I prefer to make use of the foreach-loop over the alternatives:
foreach ($items as $item) {
// code
}
In Javascript I tend to make use of forEach most of the time:
items.forEach((item) => {
// code
})
In Java I prefer the enhanced for-loop over the alternatives:
for (Int item : items) {
// code
}