class Foo {
function fubar() {
// I want to be able to determine that the function from which this
// method was called in this example is the "go" method of the class "Bar".
}
}
class Bar{
function go() {
$f = new Foo();
$f->fubar();
}
}
$b = new Bar();
$b->go();
-- Thanks, - Thomas
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php