FYI, this would be better written:

```php
$responses[] = $resp;
```

See [array_push](http://php.net/manual/en/function.array-push.php) documentation:

> Note: If you use array_push() to add one element to the array it's better to use $array[] = because in that way there is no overhead of calling a function.