PHP eval() May 23, 2012 Pramod T P It evaluates a string as PHP code. Example <?php $lan = “phpcode”; $text = ‘$lan’; eval(“$value = “$text”;”); echo $value; ?> Output phpcode