user1664427
user1664427

Reputation: 235

in netbeans and php, how can i find out all the files/areas of a program where a certain function/method is called

basically i have this method, where it's being called all over the place in my php program. Is there a way in netbeans to find out exactly where or how many times that particular method is being called in my php program?

Upvotes: 0

Views: 264

Answers (2)

Flavius
Flavius

Reputation: 13816

You can install and use xdebug: http://wiki.netbeans.org/HowToConfigureXDebug.

Go through this article, it also cover tracing, which may help you understand the execution flow: http://devzone.zend.com/1120/introducing-xdebug/

Upvotes: 1

Mike B
Mike B

Reputation: 32155

There might be an easier way but if you refactor that method Netbeans should prompt you to search for all usages and update. In this case you just wouldn't update.

Upvotes: 0

Related Questions