PHP Run compiler it is Best Example of Eval
1. phprun.bat
run.php
phprun
|-------->Environment
eval();
|----->FILENAME---->RUN.PHP
code : phprun <filename>
|
|--------> Command Line Argument
php -a
php run.php
eval("echo 'hello'; ");
file_get_contents() : it is used to get all the content from the file
and return them as a string
phprun p1
#run.php
eval(file_get_contents(p1.php))
phprun.bat
php run.php
0 Comments