3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url_liste = "http://www.kijiji.ca/b-autos-camions/grand-montreal/suv+vgm-bmw-x5-2001__2009/c174l80002a138a54a1000054a68?sort=priceAsc&price=2000.00__40000.00&kilometres=10000__110000"; $html_liste = "<td class=\"description\"><a href=\"/v-autos-camions/ville-de-montreal/2008-bmw-x5-suv/568081363\" class=\"title enable-search-navigation-flag\" name=\"568081363\">2008 BMW X5 SUV</a><p>"; $regexa = '/\<a(.*)\<\/a\>/'; preg_match($regexa, $html_liste, $matches); $a = $matches[1]; // 1234 echo $a //echo '<br>'; //echo '<br>'; $regexno = '/name="(\d+)"/i'; preg_match($regexno, $a, $matches); echo 'id:'; echo $matches[1]; $regexurl = '/href="(\S)"/i'; preg_match($regexurl, $a, $matches); echo 'url:'; echo $matches[1];

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.260.0170.06719.02
5.4.250.0130.04718.80
5.4.240.0170.04318.76
5.4.230.0130.05718.98
5.4.220.0070.05318.98
5.4.210.0200.05318.75
5.4.200.0000.05718.77
5.4.190.0130.05318.89
5.4.180.0130.04318.98
5.4.170.0130.06318.76
5.4.160.0100.05318.91
5.4.150.0170.06318.70
5.4.140.0000.06716.45
5.4.130.0070.05316.26
5.4.120.0030.05316.23
5.4.110.0100.05316.57
5.4.100.0230.05716.41
5.4.90.0100.04716.52
5.4.80.0100.06316.39
5.4.70.0070.07316.47
5.4.60.0100.04716.46
5.4.50.0130.06016.64
5.4.40.0170.05016.43
5.4.30.0100.05016.35
5.4.20.0130.05016.62
5.4.10.0070.05316.46
5.4.00.0030.05315.79
5.3.280.0070.05014.69
5.3.270.0030.05314.62
5.3.260.0070.05314.61
5.3.250.0030.05314.76
5.3.240.0030.05314.60
5.3.230.0170.06014.59
5.3.220.0130.05314.44
5.3.210.0070.06014.66
5.3.200.0100.07714.59
5.3.190.0100.06714.56
5.3.180.0100.06314.57
5.3.170.0030.05714.58
5.3.160.0170.06314.56
5.3.150.0070.06314.61
5.3.140.0270.05014.56
5.3.130.0070.07014.43
5.3.120.0130.04714.58
5.3.110.0000.06014.41
5.3.100.0030.05713.75
5.3.90.0100.04313.94
5.3.80.0100.04314.11
5.3.70.0030.05314.07
5.3.60.0070.04713.92
5.3.50.0130.04313.84
5.3.40.0070.05014.00
5.3.30.0030.05014.06
5.3.20.0100.05013.79
5.3.10.0070.04713.70
5.3.00.0030.05313.67
5.2.170.0030.04011.15
5.2.160.0030.04311.26
5.2.150.0070.04011.16
5.2.140.0030.04711.16
5.2.130.0070.03711.04
5.2.120.0100.03710.86
5.2.110.0100.05011.11
5.2.100.0070.05011.11
5.2.90.0030.05711.10
5.2.80.0100.03711.08
5.2.70.0100.03310.85
5.2.60.0000.04710.96
5.2.50.0070.04311.18
5.2.40.0070.04310.92
5.2.30.0070.03710.88
5.2.20.0070.04010.89
5.2.10.0070.03711.08
5.2.00.0100.05010.87
5.1.60.0030.0479.87
5.1.50.0130.0409.95
5.1.40.0000.03710.21
5.1.30.0030.03710.22
5.1.20.0130.04710.43
5.1.10.0100.03010.11
5.1.00.0030.03310.03
5.0.50.0030.0278.61
5.0.40.0000.0308.52
5.0.30.0000.0437.99
5.0.20.0000.0308.14
5.0.10.0030.0278.18
5.0.00.0000.0478.25
4.4.90.0030.0305.95
4.4.80.0070.0175.95
4.4.70.0000.0235.95
4.4.60.0070.0175.95
4.4.50.0030.0205.95
4.4.40.0070.0335.95
4.4.30.0000.0235.95
4.4.20.0000.0235.95
4.4.10.0030.0275.96
4.4.00.0000.0375.95
4.3.110.0030.0205.95
4.3.100.0000.0235.95
4.3.90.0030.0205.95
4.3.80.0030.0335.95
4.3.70.0000.0235.95
4.3.60.0000.0205.95
4.3.50.0000.0235.95
4.3.40.0000.0435.95
4.3.30.0030.0205.95
4.3.20.0100.0175.95
4.3.10.0000.0235.95
4.3.00.0070.0206.60

preferences:
141.39 ms | 1386 KiB | 7 Q