3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $text = "https://graph.facebook.com/12321378294234/picture"; preg_match_all("#graph\.facebook\.com/(\d+)/picture#i", $text, $n); print_r($n);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Array ( [0] => graph.facebook.com/12321378294234/picture ) [1] => Array ( [0] => 12321378294234 ) )