[PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Satya Narayan Singh
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

RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Andrea Giammarchi
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 aprocess?

RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Ashley Sheridan
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

Re: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Satya Narayan Singh
Thank a lot. APD is just doing what I was looking for. On Fri, Oct 23, 2009 at 5:13 PM, Andrea Giammarchi an_...@hotmail.comwrote: 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

Re: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread kranthi
even APD is not up to the task xdebug trace http://devzone.zend.com/article/2871 is sufficient, but the output will be in a separate file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Eddie Drapkin
There's xdebug, as mentioned, that'll do it as an extension. What you REALLY probably are looking for is http://php.net/debug_backtrace And what kind of reverse engineering would you be doing without reflection? ( http://php.net/reflection ) ;] -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Andrea Giammarchi
even APD is not up to the task xdebug trace http://devzone.zend.com/article/2871 is sufficient, but the output will be in a separate file. Thank a lot. APD is just doing what I was looking for. -- Satya Bangalore. Regards