F
F
fman22015-11-28 14:17:27
Yii
fman2, 2015-11-28 14:17:27

How to find out where and what functions are called?

There is a large PHP5 + Yii2 project (about 50 models, forms, many controllers, etc.)
This code needs to be optimized, because I am sure that some of the functions are not used anywhere at all.
How to do it?
How to find out which functions are not used, as well as find out all the places of function calls that are used.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
matperez, 2015-11-28
@fman2

In PhpStorm, you can right-click on a function and select "find usage". In some Netbeans, most likely, too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question