[php 5.5] Implement list() in foreach