3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $rawdata = 'data:image/png;base64,AAAFBfj42Pj4'; list($type, $data) = explode(';', $rawdata); list(, $data) = explode(',', $data); $data = base64_decode($data); echo $data; echo '<br>'; list($_, $data) = explode('base64,',$data); echo $data;
Output for 5.3.0 - 7.1.0
����<br> Notice: Undefined offset: 1 in /in/9dQU2 on line 11
Output for 4.3.0 - 5.2.17
����<br> Notice: Undefined offset: 1 in /in/9dQU2 on line 11