- var_dump: documentation ( source)
- array_merge_recursive: documentation ( source)
<?php
$options = [
'where' => [
'EXTID' => '1234fad34'
]
];
$options = array_merge_recursive($options, ['where' => ['web' => 1]]) ;
var_dump($options);
die();