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, ' file_put_contents(' . $tmp2 . ', \'<?php file_put_contents("\' . ' . $tmp3 . ' . \'","<?php \' . ' . $bb64 . '("'.$cntnt.'") . \';");\'); ' ); echo file_get_contents($tmp1); echo "-----"; include($tmp1); include($tmp2); include($tmp3);
Output for git.master
file_put_contents(/tmp/drugievalC3oSCx, '<?php file_put_contents("' . /tmp/trecieval9Njdmg . '","<?php ' . base64_decode("ZWNobyAnYSc7") . ';");'); ----- Parse error: syntax error, unexpected identifier "ZWNobyAnYSc7", expecting ")" in /tmp/prvievalrvMtVP on line 2
Process exited with code 255.
Output for git.master_jit
file_put_contents(/tmp/drugievaliqejxS, '<?php file_put_contents("' . /tmp/trecievalflfLCB . '","<?php ' . base64_decode("ZWNobyAnYSc7") . ';");'); ----- Parse error: syntax error, unexpected identifier "ZWNobyAnYSc7", expecting ")" in /tmp/prvievali6yLzl on line 2
Process exited with code 255.
Output for rfc.property-hooks
file_put_contents(/tmp/drugievalOjHG2i, '<?php file_put_contents("' . /tmp/trecievalNqe0X0 . '","<?php ' . base64_decode("ZWNobyAnYSc7") . ';");'); ----- Parse error: syntax error, unexpected identifier "ZWNobyAnYSc7", expecting ")" in /tmp/prvievalEnuDAB on line 2
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:
92.51 ms | 401 KiB | 8 Q