3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp1=tempnam("/tmp", "prvieval"); $tmp2=tempnam("/tmp", "drugieval"); $tmp3=tempnam("/tmp","trecieval"); $cntnt="ZWNobyAnYSc7"; $bb64="base64_decode"; file_put_contents($tmp1, '<?php file_put_contents("' . $tmp2 . '", \'<?php file_put_contents("' . $tmp3 . '","<?php ' . $bb64 . '("'.$cntnt.'") . \';");\' ); ' ); echo file_get_contents($tmp1); echo "-----"; include($tmp1); #include($tmp2); #include($tmp3);

preferences:
45.37 ms | 402 KiB | 5 Q