Answer & Solution
Hello, John! because the anonymous function assigned to the variable $greet accepts a parameter $name and returns the string 'Hello, $name!' with the provided value substituted in. The function is then called with the argument 'John' and its result is echoed.