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 "---1--"; echo file_get_contents($tmp1); echo "--12---"; include($tmp1); echo file_get_contents($tmp2); echo "--23---"; include($tmp2); echo file_get_contents($tmp3); echo "--3---"; include($tmp3);
Output for git.master
---1--<?php file_put_contents("/tmp/drugievalizrsgV", '<?php file_put_contents("/tmp/trecievalxHFyll","<?php " .base64_decode(\\"ZWNobyAnYSc7\\") . ";");' ); --12---<?php file_put_contents("/tmp/trecievalxHFyll","<?php " .base64_decode(\"ZWNobyAnYSc7\") . ";");--23--- Parse error: syntax error, unexpected token "\" in /tmp/drugievalizrsgV on line 1
Process exited with code 255.
Output for git.master_jit
---1--<?php file_put_contents("/tmp/drugievalcicAci", '<?php file_put_contents("/tmp/trecievaluH5b0V","<?php " .base64_decode(\\"ZWNobyAnYSc7\\") . ";");' ); --12---<?php file_put_contents("/tmp/trecievaluH5b0V","<?php " .base64_decode(\"ZWNobyAnYSc7\") . ";");--23--- Parse error: syntax error, unexpected token "\" in /tmp/drugievalcicAci on line 1
Process exited with code 255.
Output for rfc.property-hooks
---1--<?php file_put_contents("/tmp/drugievalnt0ZSv", '<?php file_put_contents("/tmp/trecievalQPdMLb","<?php " .base64_decode(\\"ZWNobyAnYSc7\\") . ";");' ); --12---<?php file_put_contents("/tmp/trecievalQPdMLb","<?php " .base64_decode(\"ZWNobyAnYSc7\") . ";");--23--- Parse error: syntax error, unexpected token "\" in /tmp/drugievalnt0ZSv on line 1
Process exited with code 255.

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