Is my syntax for checking multiple strings (existing of one of both strings) in a user agent correct?
I mean the part 'google|lighthouse'
. If not, what should be the correct kind of writing?
<?php if (!isset($_SERVER['HTTP_USER_AGENT']) || stripos($_SERVER['HTTP_USER_AGENT'], 'google|lighthouse') === false): ?>
// code
<?php endif; ?>