When I have the following code:
function doWork() {
echo "where the call came from";
echo "Hello World.";
}
doWork()
Is there a way to detect where the call came from..sorta like my example..
Since in most cases the call to the function may come from many places..