PHP, possible to call the function from within the same function without specifying function name?

function, php

Solution

Yes. The constant `__FUNCTION__` gives you a string representation of the current function. (src)

function testMe() {
  print __FUNCTION__;
}

testMe(); // outputs "testMe"

You can then of course use this to call itself:

$func = __FUNCTION__;
$func();

Problem

Is it possible to call function within the same function without specifying the function name - e.g by using some sort of magic keyword?

Original source