Can anonymous functions in PHP be directly assigned to variables without using callbacks or intermediate steps?

In PHP, anonymous functions can be directly assigned to variables without using callbacks or intermediate steps by using the `function` keyword followed by the function parameters and body enclosed in curly braces. This allows for creating functions on-the-fly and assigning them to variables for later use.

$addition = function($a, $b) {
    return $a + $b;
};

echo $addition(2, 3); // Output: 5