I have a large PHP class that has a large variable/function declaration and I wanted to chek if all the variables/functions are being used in the script. Is there something that does this?
The dynamic nature of the PHP language (eval, using variables/functions via strings, etc...) makes it theoretically impossible to programmatically determine if a function or variable is ever used in any and all possible situations.
Manual code analysis is, unfortunately, your best bet.