Vulny-Code-Static-Analysis/vulns/preg_replace.php

5 lines
130 B
PHP

<?php
$in = 'Somewhere, something incredible is waiting to be known';
echo preg_replace($_GET['replace'], $_GET['with'], $in);
?>