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>'; //Extract no d'annonces $regexno = '/name="(\d+)"/i'; preg_match($regexno, $a, $matches); //echo 'id:'; //echo $matches[1]; //Extract url des fiches $regexurl = '/href="(\S+)"/i'; preg_match($regexurl, $a, $matches); echo 'url:'; echo $matches[1]; $url_fiche = 'http://www.kijiji.ca' . $matches[1] echo $url_fiche;

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.0070.05719.00
5.4.250.0030.05318.80
5.4.240.0030.06018.95
5.4.230.0030.05318.78
5.4.220.0000.06718.75
5.4.210.0100.05318.76
5.4.200.0000.05718.94
5.4.190.0070.06718.73
5.4.180.0100.06018.94
5.4.170.0070.07318.95
5.4.160.0130.05318.73
5.4.150.0200.06718.73
5.4.140.0070.05016.31
5.4.130.0070.05016.58
5.4.120.0100.07016.43
5.4.110.0130.06316.38
5.4.100.0100.04716.65
5.4.90.0170.05316.52
5.4.80.0130.04316.47
5.4.70.0000.06016.44
5.4.60.0070.05016.53
5.4.50.0030.05316.53
5.4.40.0100.04716.54
5.4.30.0030.05016.55
5.4.20.0030.05716.45
5.4.10.0100.05716.36
5.4.00.0070.07316.00
5.3.280.0100.04714.51
5.3.270.0030.07014.45
5.3.260.0100.06014.66
5.3.250.0170.05714.48
5.3.240.0070.07314.46
5.3.230.0070.05314.65
5.3.220.0130.07014.62
5.3.210.0100.07714.57
5.3.200.0100.04714.49
5.3.190.0070.06714.62
5.3.180.0100.04714.41
5.3.170.0070.06714.44
5.3.160.0070.05314.62
5.3.150.0100.07314.69
5.3.140.0030.05014.58
5.3.130.0100.05314.60
5.3.120.0130.04714.57
5.3.110.0070.05714.70
5.3.100.0200.04014.05
5.3.90.0030.06713.79
5.3.80.0070.07313.81
5.3.70.0130.05713.91
5.3.60.0130.05314.02
5.3.50.0100.05014.00
5.3.40.0100.04713.79
5.3.30.0200.06013.69
5.3.20.0100.04713.69
5.3.10.0130.04013.51
5.3.00.0270.05313.65
5.2.170.0030.04310.91
5.2.160.0100.05011.05
5.2.150.0030.04711.15
5.2.140.0100.03711.23
5.2.130.0100.04011.00
5.2.120.0130.03010.87
5.2.110.0100.04010.99
5.2.100.0030.04311.11
5.2.90.0070.04011.04
5.2.80.0030.04011.01
5.2.70.0100.03710.93
5.2.60.0100.03711.02
5.2.50.0100.03311.13
5.2.40.0030.04011.09
5.2.30.0070.05310.94
5.2.20.0070.04010.79
5.2.10.0070.04310.94
5.2.00.0100.05010.61
5.1.60.0100.04310.20
5.1.50.0070.04310.19
5.1.40.0130.03010.03
5.1.30.0070.03310.51
5.1.20.0030.05710.12
5.1.10.0100.0339.84
5.1.00.0070.04310.01
5.0.50.0000.0308.78
5.0.40.0030.0278.27
5.0.30.0100.0378.13
5.0.20.0100.0338.24
5.0.10.0100.0208.21
5.0.00.0030.0437.99
4.4.90.0070.0275.93
4.4.80.0030.0205.93
4.4.70.0070.0175.90
4.4.60.0000.0235.90
4.4.50.0100.0175.90
4.4.40.0070.0375.90
4.4.30.0070.0205.90
4.4.20.0100.0135.88
4.4.10.0030.0305.88
4.4.00.0030.0335.88
4.3.110.0030.0205.88
4.3.100.0000.0235.88
4.3.90.0070.0175.88
4.3.80.0070.0375.88
4.3.70.0030.0205.88
4.3.60.0000.0235.88
4.3.50.0030.0235.88
4.3.40.0030.0305.88
4.3.30.0000.0235.88
4.3.20.0070.0205.88
4.3.10.0000.0235.88
4.3.00.0100.0206.59

preferences:
134.11 ms | 1398 KiB | 7 Q