So I got this error:
Parse error: syntax error, unexpected '{' in C:\xampp\htdocs\scanner\mine.php on line 112
On this line:
if(preg_match("inurl:", $text) {
Its part of a "Clean" function:
function Clean($text) {
if(preg_match("inurl:", $text) {
str_replace("inurl:", "", $text);
return htmlspecialchars($text, ENT_QUOTES);
} else {
return htmlspecialchars($text, ENT_QUOTES);
}
}
How can I fix it?