<?php
$filter = [
'and' => [
[
'content' => ['like' => 'Foobar'],
],
[
'or' => [
['tags.alias' => 'tag1'],
['tags.alias' => 'tag2'],
],
],
],
];
echo urldecode(http_build_query(['filter' => $filter]));
- Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.31, 8.2.0 - 8.2.27, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
- filter[and][0][content][like]=Foobar&filter[and][1][or][0][tags.alias]=tag1&filter[and][1][or][1][tags.alias]=tag2
preferences:
63.83 ms | 406 KiB | 5 Q