Vulny-Code-Static-Analysis/vulns/mb-ereg-replace-eval.php

11 lines
275 B
PHP

<?php
// ruleid: mb-ereg-replace-eval
mb_ereg_replace($pattern, $replacement, $string, $user_input_options);
// ok: mb-ereg-replace-eval
mb_ereg_replace($pattern, $replacement, $string, "msr");
// ok: mb-ereg-replace-eval
mb_ereg_replace($pattern, $replacement, $string);