In some PHP quiz I got the following task - I have to return true on the following:
function foo($x)
{
return $x === $x();
}
foo(__________ALLOWED_INPUT____________);
Now my idea was to pass an anonymous function which returns itself:
foo(function() { return $this_function; })
However I did not yet figure out a way to do this. Is it possible somehow?
PS: Nice Game (https://returntrue.win/?level=6).