Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Function that returns name of itself?
September 13, 2010, 5:18 pm
rate this thread
is there a function that one can use in (for example) an echo or print
command for debugging that will return the name of the function?
I guess I could hardcode the function name in the echo statement, but I
like messing around. :) I did look at php.net for a while but couldn't
- The Natural Philosopher
September 13, 2010, 5:33 pm
Re: Function that returns name of itself?
name of WHAT function.
The function you are in?
Sort of stack tracer ;-)
I found it more useful to make a little 'errprint' function.
And print a number or a message in a little box at the corner of the
screen, using something like a scrollable div
errprint: OK- 1
errprint: done the dirty bit
errprint: Oh shit.
call it with e.g. errprint('OK-1')
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum