I set a var:

```
$name = "john";

```

Then I have a function:

```
function whatever(){
    $name .= " smith";
}

```

Outside the function I want to dump the name:

```
var_dump($name);

```

But just john is output. I've tried using:

```
function whatever() use ($name) {
    var_dump($name) //john
    $name .= " smith";
}

```

But the final var dump outside the function still does not append smith. Where am I going wrong?