Re: Orphan functions?

From: Date: Fri, 01 Jun 2007 18:21:35 +0000
Subject: Re: Orphan functions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-255979@lists.php.net to get a copy of this message
On Fri, 2007-06-01 at 14:15 -0400, Al wrote: > Does anyone have a utility or technique to find orphan functions? > > I keep my functions together in an include file and occasionally create orphans > when I change the main code stream so that they are no longer used. > > It would be nice to be able parse all the functions in an include file to make certain the are > used. > Obviously, the parser would need a list of files that possibly could use the functions. http://ca.php.net/manual/en/ref.tokenizer.php Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#255979) next »