Just curious, why not calling:
```php
$data = array_merge($data, $value);