- renamed `yield` function to fix conflict with php 5.5