tags:

views:

59

answers:

5

I am trying to study the source code of a PHP application. Now that the code is very big, I wanted to use some kind of software that can show me all classes and functions defined so that I can easily go through it easily. Whenever I click any function its definition must open.

+1  A: 

This is not a PHP-specific need (it comes up for really any language that people write large applications in).

What you're looking for is known as an Integrated Development Environment. There are many of them which provide various user interfaces, etc. I'd say my favorite is Eclipse, which supports several programming languages - the PHP version is here.

Eclipse also does some other good stuff. I recommend reading this thread if you have time. If you learn nothing else from it, Ctrl+Shift+L gives you a list of keyboard combinations you can press to do different things, which is helpful to my Swiss cheese memory...

Arkaaito
+1  A: 

Eclipse with the PHP Development Tools works fine for me. Or, a little bit more specialized, you could evaluate the Zend Studio.

DaDaDom
+1  A: 

You need an IDE.

Anton Gogolev
A: 

Even without comments, any of the PHP doc parsers should be able to provide this, e.g. phpxref, phpdocumentor

symcbean
A: 

In addition to some of the other suggestions (use an IDE, or phpdocumentor), I think Doxygen should be able to give you what you want.

GreenMatt