diff --git a/Simple PHP Code Executor Using eval() b/Simple PHP Code Executor Using eval() new file mode 100644 index 0000000000000..14511406dbce0 --- /dev/null +++ b/Simple PHP Code Executor Using eval() @@ -0,0 +1,7 @@ +'; // The PHP code to execute +ob_start(); // Start output buffering +eval('?>' . $code); // Evaluate the PHP code +$output = ob_get_clean(); // Capture the output of the code +echo $output; // Display the output +?>