3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "a"; $b = "b"; $c = function ($param) use ($a, $b) { return $a . " " . $b . " " . $param; } var_dump($c("ok"));
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/O4928 on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/O4928 on line 2
Process exited with code 255.