--TEST-- PHP Closures from Lua --SKIPIF-- --FILE-- eval(<<test(function($msg) { print "$msg"; return function($msg) { print "$msg"; }; }); } catch(LuaException $e) { echo $e->getMessage(); } ?> --EXPECTF-- called from luareturned from php