3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo($x) { function bar() use ($x) { echo "this makes $x sense"; } } foo(5);
Output for 5.5.0 - 7.0.6
Parse error: syntax error, unexpected 'use' (T_USE), expecting '{' in /in/33fr0 on line 4
Process exited with code 255.