3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //lin bmp $teemo = $_FILES['image_file']['tmp_name']; $teemo = bin2hex(file_get_contents($teemo)); //画像バイナリ16進数化 $teemo = substr_replace($teemo,"36",20,2); //address=Aを36に書き換え $teemo = str_replace('4c696e65616765', '', $teemo); //address=36から3Cまでの7byte削除 $teemo = hex2bin($teemo);
Output for 5.4.0 - 7.1.0
Notice: Undefined index: image_file in /in/ZIqMF on line 4 Warning: file_get_contents(): Filename cannot be empty in /in/ZIqMF on line 5
Output for 5.3.0 - 5.3.29
Notice: Undefined index: image_file in /in/ZIqMF on line 4 Warning: file_get_contents(): Filename cannot be empty in /in/ZIqMF on line 5 Fatal error: Call to undefined function hex2bin() in /in/ZIqMF on line 8
Process exited with code 255.
Output for 5.2.9 - 5.2.17
Notice: Undefined index: image_file in /in/ZIqMF on line 4 Warning: file_get_contents(): Filename cannot be empty in /in/ZIqMF on line 5 Fatal error: Call to undefined function hex2bin() in /in/ZIqMF on line 8
Process exited with code 255.
Output for 5.0.0 - 5.2.8
Notice: Undefined index: image_file in /in/ZIqMF on line 4 Fatal error: Call to undefined function hex2bin() in /in/ZIqMF on line 8
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Undefined index: image_file in /in/ZIqMF on line 4 Fatal error: Call to undefined function: hex2bin() in /in/ZIqMF on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Undefined index: image_file in /in/ZIqMF on line 4 Fatal error: Call to undefined function: hex2bin() in /in/ZIqMF on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined index: image_file in /in/ZIqMF on line 4 Fatal error: Call to undefined function: hex2bin() in /in/ZIqMF on line 8