3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php yield;
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.5.24 - 5.6.11
Fatal error: The "yield" expression can only be used inside a function in /in/lp96q on line 3
Process exited with code 255.
Output for 4.3.0 - 5.4.45
Notice: Use of undefined constant yield - assumed 'yield' in /in/lp96q on line 3