RE: [PHP] Is there any way to get all the function name being called in a process?
| From: | Ashley Sheridan | Date: | Fri, 23 Oct 2009 10:41:13 +0000 |
| Subject: | RE: [PHP] Is there any way to get all the function name being called in a process? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299253@lists.php.net to get a copy of this message | ||
On Fri, 2009-10-23 at 10:27 +0200, Andrea Giammarchi wrote:
> http://uk3.php.net/manual/en/function.get-defined-functions.php
> get_defined_functions
>
> Regards
>
> > Date: Fri, 23 Oct 2009 11:54:34 +0530
> > From: astra.satya1@gmail.com
> > To: php-general@lists.php.net
> > Subject: [PHP] Is there any way to get all the function name being called in a process?
> >
> > Hi,
> >
> > I am working on reverse engineering for a web project. I was trying to know
> > that, is there any way(function by PHP, Zend, extension etc)
> > to find out how many function has been called to perform a task.
> >
> > If no, can you suggest is it possible/feasible or not?
> >
> >
> > Thanks in advance
> > --
> > Satya
> > Bangalore.
>
> _________________________________________________________________
> Keep your friends updated—even when you’re not signed in.
>
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
That won't do what the OP asked, it will just return a list of all the
functions defined, which could be a lot more than is actually being used
in a process, such as in the case of included libraries of functions.
Would some form of PHP debugger help here? I've not used any debuggers
before, but I would imagine that this is something which could be
achieved quite easily with one.
Thanks,
Ash
http://www.ashleysheridan.co.uk