Re: [PHP] How to look for unused methods/functions and variables/constants.

2007-12-14 Thread Nathan Nobbe
On Dec 14, 2007 2:49 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Fri, 2007-12-14 at 14:09 -0500, Nathan Nobbe wrote: > > On Dec 12, 2007 4:21 AM, Mathijs van Veluw < > [EMAIL PROTECTED]> > > wrote: > > > > > Hello there, > > > > > > We have a large project with lots of classes. > > > Now i

Re: [PHP] How to look for unused methods/functions and variables/constants.

2007-12-14 Thread Robert Cummings
On Fri, 2007-12-14 at 14:09 -0500, Nathan Nobbe wrote: > On Dec 12, 2007 4:21 AM, Mathijs van Veluw <[EMAIL PROTECTED]> > wrote: > > > Hello there, > > > > We have a large project with lots of classes. > > Now i am wondering if there is a way to let something check all those > > files and tell me

Re: [PHP] How to look for unused methods/functions and variables/constants.

2007-12-14 Thread Nathan Nobbe
On Dec 12, 2007 4:21 AM, Mathijs van Veluw <[EMAIL PROTECTED]> wrote: > Hello there, > > We have a large project with lots of classes. > Now i am wondering if there is a way to let something check all those > files and tell me which methods/functions variables/constants etc.. > arn't used anymore.

Re: [PHP] How to look for unused methods/functions and variables/constants.

2007-12-14 Thread mike
Well you can use get_defined_vars() to find all the variables defined inside of each scope (for instance global scope) that don't really need to be defined... http://php.net/get_defined_vars They can help you unset() or find variables you otherwise don't need to use. But that's the best I think y

Re: [PHP] How to look for unused methods/functions and variables/constants.

2007-12-14 Thread Richard Lynch
There is a software package called 'gconv' for C which does this... It may or may not be amenable to PHP... On Wed, December 12, 2007 3:21 am, Mathijs van Veluw wrote: > Hello there, > > We have a large project with lots of classes. > Now i am wondering if there is a way to let something check al

Re: [PHP] How to look for unused methods/functions and variables/constants.

2007-12-12 Thread T . Lensselink
On Wed, 12 Dec 2007 10:21:58 +0100, Mathijs van Veluw <[EMAIL PROTECTED]> wrote: > Hello there, > > We have a large project with lots of classes. > Now i am wondering if there is a way to let something check all those > files and tell me which methods/functions variables/constants etc.. > arn't us

Re: [PHP] How to look for unused methods/functions and variables/constants.

2007-12-12 Thread T . Lensselink
On Wed, 12 Dec 2007 10:21:58 +0100, Mathijs van Veluw <[EMAIL PROTECTED]> wrote: > Hello there, > > We have a large project with lots of classes. > Now i am wondering if there is a way to let something check all those > files and tell me which methods/functions variables/constants etc.. > arn't us

[PHP] How to look for unused methods/functions and variables/constants.

2007-12-12 Thread Mathijs van Veluw
Hello there, We have a large project with lots of classes. Now i am wondering if there is a way to let something check all those files and tell me which methods/functions variables/constants etc.. arn't used anymore. Or even which files arn't used anymore. Is there already something like thi