3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = "http://fotoshara.ru/images/2014/04/22/1bUSQd.jpg"; if(preg_match('/fotoshara\.ru\/images\/\d+\/\d+\/\d+\/[\w\d]+\.\w+$/', $url)) echo "cool"; else echo "bad!";
Output for 4.3.0 - 5.6.26, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
cool