#!/usr/bin/php ".$functions[$i]."(") || strstr($lines[$j], "\t".$functions[$i]."(") || strstr($lines[$j], " ".$functions[$i]." (") || strstr($lines[$j], "=".$functions[$i]." (") || strstr($lines[$j], "{".$functions[$i]." (") || strstr($lines[$j], ".".$functions[$i]." (") || strstr($lines[$j], "(".$functions[$i]." (") || strstr($lines[$j], ">".$functions[$i]." (") || strstr($lines[$j], "\t".$functions[$i]." (") || substr($lines[$j], 0, strlen($functions[$i])) == $functions[$i]) { $found_str[] = str_replace("\n", "", $lines[$j]); $found_line[] = $j+1; $bad_functions_found++; } } } if(!empty($found_str)) { $files_with_bad_functions++; file_put_contents($log_file, "File: ".$file."\n", FILE_APPEND); for($l=0;$l