Elasticsearch php client setting parameters

Can anyone tell me what’s wrong with this statement?
$params[‘body’][‘query’][‘bool’][‘must’][‘range’][‘created_at’][‘gte’] = $from[‘lte’] = $to[‘should’][ ‘match’][’_all’][$datasourcefields] = $keyword;

Thanks,
Akhil

That doesn't look like valid PHP or ES query dsl. What are you trying to do?

Can you post the full snippet of code?

thanks man, but I have resolved the issue.