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>"; $regex_a = '/<a(.*)</a>/'; preg_match($regex_a, $html_liste, $matches); echo $matches[1]; // 1234 $regex_no = '/name="(\d+)"/'; $url_fiche = "href=\"/v-autos-camions/ville-de-montreal/2008-bmw-x5-suv/568081363\""; preg_match($regex_no, $url_fiche, $matches); 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)
8.3.60.0040.01118.56
8.3.50.0100.00822.04
8.3.40.0040.01118.91
8.3.30.0110.00319.04
8.3.20.0040.00420.29
8.3.10.0050.00321.93
8.3.00.0040.00422.40
8.2.180.0040.01117.00
8.2.170.0070.00722.96
8.2.160.0070.00719.20
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0060.00326.16
8.2.120.0040.00419.73
8.2.110.0090.00320.35
8.2.100.0040.00819.89
8.2.90.0050.00319.34
8.2.80.0040.00417.97
8.2.70.0050.00518.00
8.2.60.0040.00418.04
8.2.50.0050.00318.07
8.2.40.0000.00820.01
8.2.30.0000.00718.23
8.2.20.0000.00717.89
8.2.10.0000.00717.72
8.2.00.0040.00417.75
8.1.280.0110.00425.92
8.1.270.0000.00822.23
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00023.73
8.1.230.0100.00019.08
8.1.220.0080.00017.75
8.1.210.0050.00518.77
8.1.200.0060.00317.25
8.1.190.0050.00317.40
8.1.180.0080.00318.63
8.1.170.0060.00318.80
8.1.160.0070.00022.13
8.1.150.0070.00018.60
8.1.140.0000.00817.54
8.1.130.0000.00717.86
8.1.120.0040.00417.53
8.1.110.0000.00917.54
8.1.100.0070.00017.55
8.1.90.0040.00417.47
8.1.80.0000.00717.63
8.1.70.0030.00317.53
8.1.60.0000.00817.68
8.1.50.0050.00317.68
8.1.40.0040.00417.54
8.1.30.0040.00417.73
8.1.20.0000.00917.72
8.1.10.0040.00417.74
8.1.00.0000.00917.64
8.0.300.0000.00718.77
8.0.290.0040.00417.03
8.0.280.0040.00418.39
8.0.270.0040.00417.28
8.0.260.0070.00017.04
8.0.250.0050.00217.09
8.0.240.0070.00017.01
8.0.230.0040.00417.12
8.0.220.0030.00317.02
8.0.210.0070.00017.11
8.0.200.0040.00417.02
8.0.190.0030.00617.11
8.0.180.0040.00417.08
8.0.170.0030.00517.06
8.0.160.0020.00517.09
8.0.150.0050.00317.00
8.0.140.0000.00716.96
8.0.130.0000.00913.47
8.0.120.0000.00817.04
8.0.110.0000.00817.08
8.0.100.0020.00516.90
8.0.90.0000.00716.99
8.0.80.0100.00617.01
8.0.70.0040.00416.91
8.0.60.0070.00016.99
8.0.50.0000.00817.09
8.0.30.0070.01417.45
8.0.20.0090.01017.47
8.0.10.0040.00417.07
8.0.00.0090.01116.77
7.4.330.0060.00015.00
7.4.320.0000.00616.77
7.4.300.0000.00616.56
7.4.290.0030.00316.58
7.4.280.0000.00716.76
7.4.270.0030.00316.61
7.4.260.0030.00316.63
7.4.250.0000.00816.58
7.4.240.0020.00616.66
7.4.230.0040.00416.79
7.4.220.0080.00816.53
7.4.210.0100.00416.66
7.4.200.0030.00316.69
7.4.190.0070.00016.80
7.4.160.0140.00316.82
7.4.150.0120.00617.40
7.4.140.0150.00517.86
7.4.130.0100.00816.67
7.4.120.0080.01016.79
7.4.110.0030.01416.62
7.4.100.0090.00916.77
7.4.90.0100.01016.57
7.4.80.0100.00719.39
7.4.70.0090.00916.67
7.4.60.0070.01016.70
7.4.50.0000.00716.61
7.4.40.0130.00622.77
7.4.30.0070.01016.95
7.4.00.0030.01314.97
7.3.330.0000.00513.14
7.3.320.0000.00513.30
7.3.310.0050.00316.41
7.3.300.0000.00716.38
7.3.290.0090.00616.36
7.3.280.0060.01016.41
7.3.270.0000.01717.40
7.3.260.0050.01416.46
7.3.250.0130.00516.73
7.3.240.0040.01416.73
7.3.230.0120.00416.45
7.3.210.0120.00616.47
7.3.200.0090.01319.39
7.3.190.0100.00716.58
7.3.180.0080.00816.61
7.3.170.0110.00716.42
7.3.160.0060.00916.64
7.3.120.0100.00615.27
7.2.330.0120.00416.60
7.2.320.0070.01016.75
7.2.310.0150.00916.78
7.2.300.0030.01416.64
7.2.290.0190.00016.59
7.1.70.0000.00717.25
7.1.60.0100.01419.82
7.1.50.0180.00716.98
7.1.00.0030.08722.29
7.0.200.0030.00716.53
7.0.140.0030.07322.10
7.0.60.0030.04719.86
7.0.50.0030.04017.84
7.0.40.0000.09320.21
7.0.30.0200.08720.22
7.0.20.0230.06320.21
7.0.10.0230.04320.13
7.0.00.0070.07020.21
5.6.280.0000.07720.91
5.6.210.0070.08020.56
5.6.200.0030.08018.12
5.6.190.0070.04020.48
5.6.180.4100.04320.77
5.6.170.0170.04320.71
5.6.160.0100.09720.48
5.6.150.0030.05018.16
5.6.140.0100.07018.08
5.6.130.0100.08318.09
5.6.120.0100.08020.97
5.6.110.0030.08721.01
5.6.100.0170.03721.03
5.6.90.0100.07321.11
5.6.80.0070.05720.39
5.6.70.4270.04020.39
5.5.350.0070.08020.36
5.5.340.0030.05717.91
5.5.330.0070.04320.28
5.5.320.0270.03720.28
5.5.310.0170.05720.30
5.5.300.0070.03317.90
5.5.290.0030.04718.01
5.5.280.0070.08320.76
5.5.270.0130.07720.65
5.5.260.0130.07720.76
5.5.250.0130.07720.70
5.5.240.0070.06020.18
5.4.450.0270.05719.42
5.4.440.0230.08319.45
5.4.430.0230.05319.45
5.4.420.0100.04719.41
5.4.410.0170.04319.33
5.4.400.0170.03719.24
5.4.390.0270.06318.79
5.4.380.0130.04318.92
5.4.370.0100.04319.09
5.4.360.0130.04019.09
5.4.350.0230.05019.08
5.4.340.0230.07019.10
5.4.320.0170.04019.08
5.4.310.0130.04019.10
5.4.300.0170.03719.23
5.4.290.0170.03719.23
5.4.280.0200.04019.08
5.4.270.0200.03719.06
5.4.260.0070.04319.07
5.4.250.0200.03319.24
5.4.240.0200.03318.92
5.4.230.0200.07719.08
5.4.220.0200.03719.23
5.4.210.0200.06719.13
5.4.200.0230.03718.94
5.4.190.0230.04019.09
5.4.180.0470.06018.79
5.4.170.0200.04718.77
5.4.160.0300.04318.91
5.4.150.0330.04318.86
5.4.140.0270.05716.31
5.4.130.0330.02716.45
5.4.120.0270.06716.15
5.4.110.0270.07016.49
5.4.100.0200.05716.43
5.4.90.0370.06316.30
5.4.80.0370.05316.18
5.4.70.0330.04316.19
5.4.60.0270.05716.39
5.4.50.0230.06716.18
5.4.40.0330.06716.04
5.4.30.0200.06316.17
5.4.20.0230.03316.43
5.4.10.0170.05016.36
5.4.00.0270.02315.78
5.3.290.0270.03314.49
5.3.280.0170.05314.44
5.3.270.0200.03714.65
5.3.260.0270.07314.56
5.3.250.0230.04314.63
5.3.240.0230.07714.46
5.3.230.0270.07014.55
5.3.220.0300.08014.51
5.3.210.0300.07314.51
5.3.200.0230.06014.54
5.3.190.0270.05714.51
5.3.180.0300.06014.59
5.3.170.0300.07014.59
5.3.160.0230.04014.61
5.3.150.0230.07314.42
5.3.140.0370.07314.54
5.3.130.0200.04014.50
5.3.120.0170.04714.48
5.3.110.0130.04314.38
5.3.100.0200.03313.86
5.3.90.0200.03313.88
5.3.80.0200.04014.05
5.3.70.0200.03313.81
5.3.60.0230.03013.78
5.3.50.0300.06313.82
5.3.40.0200.07313.89
5.3.30.0200.05713.82
5.3.20.0330.06313.68
5.3.10.0300.06713.63
5.3.00.0200.06713.69
5.2.170.0230.04711.19
5.2.160.0200.04711.19
5.2.150.0270.05311.19
5.2.140.0230.03711.19
5.2.130.0170.05311.19
5.2.120.0170.06311.19
5.2.110.0170.04311.19
5.2.100.0200.05011.19
5.2.90.0170.06311.19
5.2.80.0270.05311.19
5.2.70.0200.04711.19
5.2.60.0330.04711.19
5.2.50.0230.03711.19
5.2.40.0200.03311.19
5.2.30.0130.03011.19
5.2.20.0200.04311.19
5.2.10.0200.05711.19
5.2.00.0170.05011.19
5.1.60.0130.02311.19
5.1.50.0200.03711.19
5.1.40.0200.05011.19
5.1.30.0300.02711.19
5.1.20.0200.03011.19
5.1.10.0200.05011.19
5.1.00.0200.05711.19
5.0.50.0070.03011.19
5.0.40.0130.03711.19
5.0.30.0130.05311.19
5.0.20.0100.02311.19
5.0.10.0100.02011.19
5.0.00.0070.03311.19
4.4.90.0070.03311.19
4.4.80.0130.01311.19
4.4.70.0130.02311.19
4.4.60.0170.02311.19
4.4.50.0070.02311.19
4.4.40.0070.03311.19
4.4.30.0130.03011.19
4.4.20.0070.02011.19
4.4.10.0070.02711.19
4.4.00.0100.04311.19
4.3.110.0100.03011.19
4.3.100.0100.03311.19
4.3.90.0170.02711.19
4.3.80.0130.02011.19
4.3.70.0100.03311.19
4.3.60.0130.03011.19
4.3.50.0070.03311.19
4.3.40.0070.04311.19
4.3.30.0070.03311.19
4.3.20.0000.04011.19
4.3.10.0030.03711.19
4.3.00.0070.02011.19

preferences:
54.19 ms | 400 KiB | 5 Q