3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = 'Test humble request we are not spammers'; $strings = [ 'humble request we are not spammers' => '"Humble request we are not spammers." Yes you are spammers! We don\'t outsource.' ]; foreach ($strings as $search => $respond) { if (\stripos($body, $search) !== false) { if (!\headers_sent()) { \header("Content-Type: text/plain;charset=UTF-8"); } die($respond); } }

preferences:
63.55 ms | 402 KiB | 5 Q