<?php function safeEval($haystack,$needle) { str_ireplace($needle,"' '",$haystack); return eval($arg); //return; } $string = "echo 'Hello drop Kyle';"; $find = "Drop"; safeEval($string,$find);
You have javascript disabled. You will not be able to edit any code.