3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match("#\.(jpe?g|png|gif)$#", 'http://coverartarchive.org/release/24554638-035e-4037-b0c5-c8a23e513852/2124089389-250.jpg', $match); var_dump($match);
Output for 4.3.0 - 7.2.0
array(2) { [0]=> string(4) ".jpg" [1]=> string(3) "jpg" }