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); echo file_get_contents($tmp2); echo "-----"; include($tmp2); echo file_get_contents($tmp3); echo "-----"; #include($tmp3);
Output for git.master
<?php file_put_contents("/tmp/drugievalZ4RcuG", '<?php file_put_contents("/tmp/trecievalEAlrDB","<?php base64_decode(\"ZWNobyAnYSc7\") ;");' ); -----<?php file_put_contents("/tmp/trecievalEAlrDB","<?php base64_decode(\"ZWNobyAnYSc7\") ;");-----<?php base64_decode("ZWNobyAnYSc7") ;-----
Output for git.master_jit
<?php file_put_contents("/tmp/drugievalmtvwmT", '<?php file_put_contents("/tmp/trecievalgnqY8C","<?php base64_decode(\"ZWNobyAnYSc7\") ;");' ); -----<?php file_put_contents("/tmp/trecievalgnqY8C","<?php base64_decode(\"ZWNobyAnYSc7\") ;");-----<?php base64_decode("ZWNobyAnYSc7") ;-----
Output for rfc.property-hooks
<?php file_put_contents("/tmp/drugievalDRer5g", '<?php file_put_contents("/tmp/trecievalQSZ80N","<?php base64_decode(\"ZWNobyAnYSc7\") ;");' ); -----<?php file_put_contents("/tmp/trecievalQSZ80N","<?php base64_decode(\"ZWNobyAnYSc7\") ;");-----<?php base64_decode("ZWNobyAnYSc7") ;-----

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
65.35 ms | 401 KiB | 8 Q