check if contain keyword php

PHP
$a = 'How are you?';

if (strpos($a, 'are') !== false) {
    echo 'true';
}str_contains('STRING', 'SUB_STRING');
Source

Also in PHP: