1--TEST--
2Yield cannot be used outside of functions
3--FILE--
4<?php
5
6yield "Test";
7
8?>
9--EXPECTF--
10Fatal error: The "yield" expression can only be used inside a function in %s on line %d
11