3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp1=tempnam("/tmp", "prvieval"); $tmp2=tempnam("/tmp", "drugieval"); $cntnt='base64_decode("ZWNobyAnYSc7")'; echo "xxxxx"; echo '<?php file_put_contents("' . $tmp2 . '","<?php ' . base64_decode("ZWNobyAnYSc7") . ';");'; echo "yyyyy"; file_put_contents($tmp1, '<?php file_put_contents("' . $tmp2 . '","<?php ' . base64_decode("ZWNobyAnYSc7") . ';");'); echo file_get_contents($tmp1); echo "-----"; include($tmp1); include($tmp2);
Output for git.master
xxxxx<?php file_put_contents("/tmp/drugievalzajub4","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalzajub4","<?php echo 'a';;");-----a
Output for git.master_jit
xxxxx<?php file_put_contents("/tmp/drugievalGd8Fey","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalGd8Fey","<?php echo 'a';;");-----a
Output for rfc.property-hooks
xxxxx<?php file_put_contents("/tmp/drugievalH9Ms6l","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalH9Ms6l","<?php echo 'a';;");-----a

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:
53.72 ms | 401 KiB | 8 Q