i want detect some words when read first line file.
this my code
$open = @fopen($file,"r");
$line = @fgets($open);
$close = @fclose($open);
return preg_match('/\<\?php/',$line);
words for detect
"<?php","<?","<html>"
i do not know how do it with multiple words, any help please