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 - 5.6.28, 7.0.0 - 7.1.0
����<br> Notice: Undefined offset: 1 in /in/uqqi3 on line 11
Output for hhvm-3.12.0
����<br> Notice: Undefined index: 1 in /in/uqqi3 on line 11
Output for hhvm-3.10.0
����<br> Notice: Undefined index: 1 in /in/uqqi3 on line -1
Output for 4.3.0 - 5.2.17
����<br> Notice: Undefined offset: 1 in /in/uqqi3 on line 11