PHP 7 Fungsi masing -masing () sudah usang.

<?php

foreach($this->images as $file => $info) {
    // ...
}
Half Unicorn, Half Potato