If you want to do this in the $ _GET variable, consider adding multiple items in the same index as the GET
parameter.
See:
url?itens[]=pão&itens[]=leite&itens[]=ovo
In PHP this would return:
print_r($_GET['itens']); // ["pão", "leite", "ovo"]
For the url to be as specified in the comment, you need to declare the form like this:
<input type="text" name="itens[]" value="ovo" />
<input type="text" name="itens[]" value="pão" />
To check, just save a list of expected values and compare:
$valores = $_GET['itens'];
ksort($valores);
$obrigatorios = ['leite', 'ovo', 'pão']
var_dump($valores === $obrigatorios);
Another way to do the check would be to use the array_intersect
function:
count(array_intersect($obrigatorios, $valores)) > 0