Stut wrote:
On 9 Dec 2008, at 19:37, Daniel Kolbo wrote:
is there a way (i swear i saw it in the documentation at one point)
to get the name of the calling scope (or function) from within
another function?
eg.
function a() {
b();
}
function b() {
echo "the calling function is: " . fun
On 9 Dec 2008, at 19:37, Daniel Kolbo wrote:
is there a way (i swear i saw it in the documentation at one point)
to get the name of the calling scope (or function) from within
another function?
eg.
function a() {
b();
}
function b() {
echo "the calling function is: " . func_caller();
}
2 matches
Mail list logo