What I think about that is using a global variable...
PHP Code:
function thing() { stack.add( "thing" ); test1(); stack.delete( stack.size() - 1 ); }
function test1() { stack.add( "test1" ); test2(); stack.delete( stack.size() - 1 ); }
function test2() { stack.add( "test2" ); echo( stack ); stack.delete( stack.size() - 1 ); }
I do believe that temp.name returns the name of the function... But I can't verify this right now... But if you'll be using this, I would recommend you try it out.
What you want, however, isn't currently available in Graal, nor do I believe that it will be.
|