no but you could read the file into an array implode the array together and then search through the string like this:
function findit($filetosearchin,$stringtosearch) {
$file = file($filetosearchin);
$linestr = implode(" ", $file);
if (strstr($stringtosearch, $linestr)) {
return TRUE;
}
else {
return FALSE;
}
Sample usage
if (findit("http://www.somedomanin.com", "news")) {
print "String found";
}
else {
print "String not found";
}