- Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.30, 5.6.7 - 5.6.14
- Parse error: syntax error, unexpected '*', expecting '&' or variable (T_VARIABLE) in /in/nVK6F on line 4
Process exited with code 255.
<?php
$a = 'foo';
$f = function($x) use(*) {
return function($y) use (*) {
return $x . $y . $a;
}
};