\n"; } $filecontents = implode('', $x); $filecontentsEscaped = PHSC($filecontents); $type = $opt['type'] ?? ''; // safely extract the option if (strcasecmp($type, "html") === 0) { // compare $body=$filecontents; $body = preg_replace('/]*>.*?<\/script>/is', '', $body); # Remove