Added support for PHP 5.5 yield statement