While searching for something else, I found this code
$x = "foo";
function foo(){ echo "wtf"; }
$x(); # "wtf"
and when I searched google for this, I got only C results not PHP, while I know that under the PHP hood is C, I would really like some explanation about that.
What is that called?
and how it is interpreted by PHP zend? is it some sort of callable?
and is it still available in PHP 7+ ?