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.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to