Hi
Let's say I have a function with optional arguments:
function foo($argument1, $argument2='default', $argument3='also_default')
{
//do something
}
and in my code I call the function either
$var=foo('something')
or
$var=foo('something', 'other')
or
$var=foo('something', 'other', 'etc')
It would be really great not only to find ALL references (as already possible), but to find only references where the optional $argument2 (or 3...) is set.
This feature will be great to clean up if f.e. $argument2 is no longer used but there are >1'000 calls of the function which I have to check if they use $argument2 or 3 bevor I delete the argument.
Currently I do a mix of manual search and Regex, but how easy would it be if there was a right click on the function name... (dreaming ;-) )
Greetings: Stefan