I need a regex that matches all instances of a particular PHP function name in given a piece of code.

The regex should match `foo` in:

```
foo("qwe");
function foo($param);
return foo();

```

An not match `foo` in:

```
my_foo("qwe");
foo_bar();
"some foo string"

```