- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected 'use' (T_USE), expecting '{' in /in/vrIKM on line 4
Process exited with code 255.
<?php
$f = function(){ return 'bla'; };
function SendBla() use ($f)
{
return $f;
}
function ReceiveBla($f) {
echo $f;
}
SendBla();
ReceiveBla( SendBla());