- Output for 5.3.0 - 5.3.25, 5.4.0 - 5.4.15
- Parse error: syntax error, unexpected ',' in /in/Nrdcr on line 10
Process exited with code 255.
<?php
function safeEval($haystack,$needle)
{
str_ireplace($needle,"' '",$haystack);
//$return = $haystack;
return eval($haystack);
//return;
}
$string = array("Hello","drop","Kyle"), array("Drop");
safeEval($string);