- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Parse error: syntax error, unexpected end of file in /in/PJjHv on line 10
Process exited with code 255.
<?php
$foo = function () {
$foo = 'hello world';
return $foo;
};
var_dump($foo);
var_dump($foo())