: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if ($skip === false) $skip = strlen($text) - $count; else $skip -= $count;
if (preg_match('/\/\*.*?\*\//s', $text, $m, 0, $count)) {
$newlines = substr_count($m[0], "\n");
if ($skip == 0) $count += strlen($min[0]);
$out .= substr($text, 0, $count) . str_repeat("\n", $newlines);
$text = substr($text, $count + $skip);