3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $file = "234565432421_13/16/18_asda_2312.jpg"; echo strpos($file, "_"); echo $date = substr($file, strpos($file, "_")+1,strpos($file, "_"));
based on ucIk1
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
1213/16/18_asd