3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp1=tempnam("/tmp", "prvieval"); $tmp2=tempnam("/tmp", "drugieval"); $cntnt='base64_decode("ZWNobyAnYSc7")'; file_put_contents($tmp1, '<?php file_put_contents("' . $tmp2 . '","<?php ' . chr(98).chr(97).chr(115).chr(101).chr(54).chr(52).chr(95).chr(100).chr(101).chr(99).chr(111).chr(100).chr(101).("ZWNobyAnYSc7") . ';");'); echo file_get_contents($tmp1); echo "-----"; include($tmp1); include($tmp2);
Output for git.master
<?php file_put_contents("/tmp/drugievalYqIj3W","<?php base64_decodeZWNobyAnYSc7;");----- Fatal error: Uncaught Error: Undefined constant "base64_decodeZWNobyAnYSc7" in /tmp/drugievalYqIj3W:1 Stack trace: #0 /in/kfZBN(13): include() #1 {main} thrown in /tmp/drugievalYqIj3W on line 1
Process exited with code 255.
Output for git.master_jit
<?php file_put_contents("/tmp/drugievalapNYMF","<?php base64_decodeZWNobyAnYSc7;");----- Fatal error: Uncaught Error: Undefined constant "base64_decodeZWNobyAnYSc7" in /tmp/drugievalapNYMF:1 Stack trace: #0 /in/kfZBN(13): include() #1 {main} thrown in /tmp/drugievalapNYMF on line 1
Process exited with code 255.
Output for rfc.property-hooks
<?php file_put_contents("/tmp/drugievalnAycOX","<?php base64_decodeZWNobyAnYSc7;");----- Fatal error: Uncaught Error: Undefined constant "base64_decodeZWNobyAnYSc7" in /tmp/drugievalnAycOX:1 Stack trace: #0 /in/kfZBN(13): include() #1 {main} thrown in /tmp/drugievalnAycOX 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:
73.78 ms | 401 KiB | 8 Q