3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m = array(); $x = "asdfadsf 'http://valami.lofasz?egy=ketto&harom=negy'blablabla"; $y = preg_match("#\'(https?://[^\']+)\'#", $x, $m); var_dump($m);

preferences:
46.47 ms | 402 KiB | 5 Q