<?php

$str = 'This is my staunch corrupt thoughts on, the stupid, stoic, psycho, that is you company founder';



$restrict = [
	'psycho',
	'staunch',
	'corrupt'
	];
	
$tmp = explode(' ', strtolower(preg_replace('/[^a-z\d ]/i', '', $str)));
$r = array_intersect($restrict, $tmp);

print_r($r);

if(!empty($r)){
	echo "Error";
} else {
	echo $str;
}
