3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $name = '09-07-2017_11-09-43_avatar paso.jpg'; $arr = explode($name, '_'); echo $arr[2];
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Notice: Undefined offset: 2 in /in/L64mK on line 6
Output for hhvm-3.15.4
Notice: Undefined index: 2 in /in/L64mK on line 6