Php Get Last Data From Foreach Object Data Stack Overflow

Php Get Last Data From Foreach Object Data Stack Overflow