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.sat...@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


Reply via email to