3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp=tempnam("/tmp", "prvieval"); $tmp1=tempnam("/tmp", "drugieval"); file_put_contents($tmp, '<?php file_put_contents("' . $tmp1 . '","<?php ' . base64_decode("ZWNobyAnYSc7") . ';");'); echo "---" ; echo file_get_contents($tmp); echo "===";include($tmp); echo "xxxxxxx";echo file_get_contents($tmp1); echo "yyyyy";include($tmp1);
Output for git.master
---<?php file_put_contents("/tmp/drugievaln5phZX","<?php echo 'a';;");===xxxxxxx<?php echo 'a';;yyyyya
Output for git.master_jit
---<?php file_put_contents("/tmp/drugievalKKGLhY","<?php echo 'a';;");===xxxxxxx<?php echo 'a';;yyyyya
Output for rfc.property-hooks
---<?php file_put_contents("/tmp/drugievalt4nLP8","<?php echo 'a';;");===xxxxxxx<?php echo 'a';;yyyyya

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