I have been using this code for a long time:
if (preg_match("/^слово/", $peremennaya)) { It checks for the presence of the word at the beginning of the $peremennaya variable. But how to make a simultaneous bulk check? That is, suppose I have to simultaneously check for the presence of the word "search" in the $get variable, as well as the word "forward" in the $santex variable and the word "price" in the $korzina variable.
I think we need to work with brackets "{" here. But I would like to hear the opinion of knowledgeable people ...