<?php function hof($t) { return function($v) use($t) { return $v.$t; }; } var_dump(hof('foo')('bar'));
You have javascript disabled. You will not be able to edit any code.