What wrong with the following code?
WHen I tried to run the linter, it give me:
# PHP Parse error: syntax error, unexpected '}' in test.ph on line 19
<?php
function foo()
{
return function()
{
print 'bar';
}
}
The return expression needs to end and have a correct syntax.