views:

44

answers:

1

I'm often working with undocumented code. Much of the time, PHPxref works great for this, but often there's code that isn't a php variable or function, so PHPxref won't search for it. For example, right now I'm working with Smarty templates, and it's not straightforward to search for the smarty variables in the rest of the code.

A search engine would be excellent for this.

A PHP-aware search engine would be beyond excellent for this.

Is there such a beast?

+1  A: 

I asked for something similar some time ago (even put a big bounty on it) and the best suggestion that came up was using PHP's built in tokenizer to build such a search. However, I have not yet gotten around to implementing it.

The SD search engine Ira Baxter is presenting in my question is probably your best bet in terms of a finished product, and looks like a massive beast that can do everything.

Pekka