3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $images[] = "/cache/user-ErgL4WpHE4SGK7pc-2014-09-17_10-10-18-questionmark.png"; preg_match('/-([a-zA-Z0-9]*).png/', (string)current($images), $matches);
based on NqR3H
Output for 4.3.0 - 7.1.0