3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "https://graph.facebook.com/12321378294234/picture"; preg_match_all("#graph\.facebook\.com/(\d+)/picture#i", $text, $n); print_r($n);

preferences:
41.97 ms | 402 KiB | 5 Q