Quick and stupid question. I want to search my template for a certain function and grab all the arguments. Can I use func_get_args for this?

<p><?php abc( 'xyz' ); ?></p>
...
<p><?php abc( '123' ); ?></p>

- search and find function abc
- get arguments
- collect them in an array