PHP Generators

You should check PHP generators. It’s quite efficient!