3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $domain = "stackoverflow.com"; $uriToTest = "http://stackoverflow.com/"; $pattern = "/^http(s)?:\//(([a-z]+)\.)*/"; $result= preg_match($pattern, $uriToTest); print_r($result);

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.0090.00616.75
8.3.50.0120.00516.40
8.3.40.0100.01018.49
8.3.30.0090.00918.42
8.3.20.0090.00018.41
8.3.10.0040.00418.45
8.3.00.0080.00019.25
8.2.180.0140.00418.21
8.2.170.0070.00722.96
8.2.160.0140.00020.90
8.2.150.0090.00624.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0080.00020.83
8.2.110.0000.01021.18
8.2.100.0080.00317.79
8.2.90.0050.00317.97
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0050.00317.79
8.2.50.0050.00318.07
8.2.40.0080.00018.03
8.2.30.0030.00717.87
8.2.20.0090.00017.51
8.2.10.0050.00217.73
8.2.00.0040.00417.54
8.1.280.0110.00425.92
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0020.00528.09
8.1.240.0090.00022.20
8.1.230.0090.00620.83
8.1.220.0050.00317.76
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0050.00317.22
8.1.180.0000.00818.10
8.1.170.0040.00420.69
8.1.160.0000.00818.69
8.1.150.0050.00218.55
8.1.140.0080.00017.36
8.1.130.0030.00317.82
8.1.120.0000.00717.30
8.1.110.0000.00717.34
8.1.100.0040.00417.40
8.1.90.0040.00817.37
8.1.80.0030.00417.35
8.1.70.0030.00317.36
8.1.60.0030.00617.43
8.1.50.0030.00517.39
8.1.40.0040.00417.42
8.1.30.0030.00617.56
8.1.20.0060.00317.54
8.1.10.0050.00317.44
8.1.00.0000.00717.26
8.0.300.0070.00020.12
8.0.290.0070.00016.63
8.0.280.0030.00318.36
8.0.270.0030.00317.18
8.0.260.0000.00616.68
8.0.250.0040.00416.99
8.0.240.0070.00016.95
8.0.230.0000.00716.98
8.0.220.0070.00016.78
8.0.210.0030.00516.89
8.0.200.0000.00717.00
8.0.190.0030.00316.98
8.0.180.0090.00316.77
8.0.170.0050.00316.90
8.0.160.0000.00716.89
8.0.150.0040.00416.82
8.0.140.0040.00416.89
8.0.130.0030.00313.30
8.0.120.0050.00316.81
8.0.110.0040.00416.81
8.0.100.0000.00716.94
8.0.90.0000.00816.99
8.0.80.0070.00716.91
8.0.70.0040.00316.75
8.0.60.0070.00016.66
8.0.50.0040.00416.91
8.0.30.0130.00616.88
8.0.20.0090.00917.01
8.0.10.0000.00717.03
8.0.00.0130.00816.81
7.4.330.0050.00012.86
7.4.320.0030.00316.29
7.4.300.0030.00316.42
7.4.290.0000.01116.55
7.4.280.0030.00516.28
7.4.270.0000.00716.32
7.4.260.0060.00013.14
7.4.250.0030.00616.37
7.4.240.0010.00616.34
7.4.230.0000.00716.38
7.4.220.0130.01216.48
7.4.210.0070.00716.43
7.4.200.0040.00416.61
7.4.190.0030.00316.33
7.4.160.0120.00416.49
7.4.150.0170.00016.38
7.4.140.0080.01016.34
7.4.130.0050.01216.36
7.4.120.0100.01016.41
7.4.110.0060.01116.50
7.4.100.0030.01916.37
7.4.90.0070.01016.45
7.4.80.0130.01019.39
7.4.70.0070.01716.48
7.4.60.0040.01216.33
7.4.50.0100.00216.12
7.4.40.0070.01116.30
7.4.30.0060.00916.35
7.4.00.0080.01114.91
7.3.330.0000.00612.89
7.3.320.0020.00212.96
7.3.310.0000.00716.15
7.3.300.0030.00316.18
7.3.290.0040.01516.18
7.3.280.0110.00516.16
7.3.270.0080.00816.19
7.3.260.0100.00716.18
7.3.250.0060.01616.30
7.3.240.0140.00716.29
7.3.230.0090.00816.21
7.3.210.0100.00716.49
7.3.200.0110.00816.52
7.3.190.0100.00716.35
7.3.180.0120.00616.39
7.3.170.0060.01016.18
7.3.160.0000.01516.27
7.3.120.0080.00914.72
7.3.110.0100.00914.61
7.3.100.0050.01014.77
7.3.90.0080.00614.73
7.3.80.0100.00714.39
7.3.70.0120.00314.74
7.3.60.0080.00714.60
7.3.50.0100.00214.70
7.3.40.0050.00914.75
7.3.30.0030.01014.79
7.3.20.0020.01116.38
7.3.10.0090.00616.46
7.3.00.0070.00816.45
7.2.330.0080.01716.46
7.2.320.0110.00616.23
7.2.310.0180.00616.58
7.2.300.0090.00916.61
7.2.290.0130.00316.33
7.2.250.0070.00714.73
7.2.240.0090.00914.97
7.2.230.0080.00914.92
7.2.220.0060.00814.97
7.2.210.0030.01414.69
7.2.200.0040.01114.95
7.2.190.0060.01114.91
7.2.180.0030.01314.90
7.2.170.0030.00914.88
7.2.130.0060.00616.85
7.2.120.0110.00016.55
7.2.110.0000.01416.88
7.2.100.0060.00616.51
7.2.90.0030.00916.66
7.2.80.0100.00316.73
7.2.70.0100.00316.87
7.2.60.0090.00316.87
7.2.50.0030.01016.77
7.2.40.0060.00916.85
7.2.30.0070.00316.66
7.2.20.0000.01516.83
7.2.10.0030.00916.70
7.2.00.0030.00716.74
7.1.330.0060.00815.67
7.1.320.0070.00515.88
7.1.310.0100.00515.87
7.1.300.0090.00715.58
7.1.290.0070.00915.70
7.1.280.0040.00615.75
7.1.270.0050.01015.67
7.1.260.0030.01015.78
7.1.250.0040.00715.55
7.1.100.0060.00618.11
7.1.70.0000.01017.20
7.1.60.0130.00319.40
7.1.50.0070.01416.89
7.1.00.0070.07022.44
7.0.200.0260.00614.80
7.0.140.0000.07722.08
7.0.120.0000.07722.06
7.0.60.0000.08020.07
7.0.50.0030.06717.78
7.0.40.0170.08020.23
7.0.30.0430.07020.16
7.0.20.0270.05020.16
7.0.10.0370.04720.12
7.0.00.0030.05020.08
5.6.280.0030.07021.12
5.6.210.0100.07720.64
5.6.200.0130.07018.11
5.6.190.0070.05720.67
5.6.180.0330.05320.23
5.6.170.0400.07720.41
5.6.160.0030.08020.41
5.6.150.0070.08018.20
5.6.140.0070.07718.15
5.6.130.0070.07318.15
5.6.120.0100.08020.99
5.6.110.0130.08320.98
5.6.100.0130.04021.02
5.6.90.0100.06720.96
5.6.80.0100.07720.36
5.6.70.0170.06720.42
5.5.350.0330.07020.43
5.5.340.0030.06017.96
5.5.330.0030.04320.23
5.5.320.0100.05720.21
5.5.310.0300.04720.26
5.5.300.0070.07717.98
5.5.290.0030.05017.91
5.5.280.0070.09020.79
5.5.270.0100.06020.89
5.5.260.0070.06020.76
5.5.250.0100.06720.57
5.5.240.0130.06320.18
5.4.450.0230.06019.47
5.4.440.0100.07719.50
5.4.430.0070.05019.50
5.4.420.0070.04719.13
5.4.410.0100.05719.14
5.4.400.0170.04318.79
5.4.390.0030.08019.07
5.4.380.0100.04719.12
5.4.370.0030.08719.00
5.4.360.0130.07318.82
5.4.350.0070.04718.91
5.4.340.0030.06719.18
5.4.320.0100.07718.81
5.4.310.0030.05319.09
5.4.300.0070.04019.07
5.4.290.0070.03718.78
5.4.280.0070.08018.80
5.4.270.0100.06319.00
5.4.260.0130.06019.11
5.4.250.0030.04718.96
5.4.240.0100.04319.17
5.4.230.0130.07019.12
5.4.220.0070.04319.00
5.4.210.0030.07719.13
5.4.200.0030.05319.11
5.4.190.0030.05718.79
5.4.180.0070.08018.81
5.4.170.0030.04319.07
5.4.160.0070.03719.06
5.4.150.0030.04318.76
5.4.140.0100.03316.29
5.4.130.0030.07716.28
5.4.120.0070.05716.34
5.4.110.0130.06716.36
5.4.100.0030.07316.36
5.4.90.0000.04716.39
5.4.80.0100.07016.25
5.4.70.0000.04316.37
5.4.60.0030.03716.28
5.4.50.0100.04016.25
5.4.40.0030.07016.57
5.4.30.0070.07316.21
5.4.20.0070.04716.25
5.4.10.0030.04316.34
5.4.00.0100.06715.66
5.3.290.0130.03014.58
5.3.280.0070.07714.55
5.3.270.0070.05314.69
5.3.260.0070.05314.54
5.3.250.0070.04314.57
5.3.240.0030.07714.57
5.3.230.0030.05714.53
5.3.220.0070.04314.52
5.3.210.0030.07314.58
5.3.200.0130.05314.46
5.3.190.0070.06314.49
5.3.180.0100.04014.64
5.3.170.0130.04014.44
5.3.160.0030.08014.48
5.3.150.0070.07314.54
5.3.140.0070.04014.64
5.3.130.0030.06314.50
5.3.120.0070.07714.33
5.3.110.0070.07014.47
5.3.100.0070.04013.93
5.3.90.0100.06014.11
5.3.80.0030.04313.98
5.3.70.0130.03014.03
5.3.60.0070.06313.97
5.3.50.0030.06013.88
5.3.40.0130.07013.87
5.3.30.0100.07313.84
5.3.20.0100.07013.51
5.3.10.0130.06313.62
5.3.00.0030.04313.56
5.2.170.0000.06711.00
5.2.160.0100.06011.08
5.2.150.0100.03711.04
5.2.140.0070.05710.99
5.2.130.0070.06711.08
5.2.120.0100.05711.25
5.2.110.0070.06011.09
5.2.100.0030.06711.00
5.2.90.0030.03311.06
5.2.80.0000.05011.02
5.2.70.0030.03011.07
5.2.60.0070.02310.87
5.2.50.0030.04011.00
5.2.40.0000.03310.84
5.2.30.0000.03010.84
5.2.20.0030.02710.80
5.2.10.0030.03010.71
5.2.00.0000.03010.70
5.1.60.0070.02010.07
5.1.50.0100.0209.98
5.1.40.0000.02710.03
5.1.30.0030.02710.32
5.1.20.0030.02310.20
5.1.10.0070.02010.08
5.1.00.0030.0239.96
5.0.50.0000.0238.45
5.0.40.0000.0208.55
5.0.30.0000.0308.19
5.0.20.0000.0208.10
5.0.10.0100.0138.14
5.0.00.0000.0308.20
4.4.90.0030.0137.71
4.4.80.0000.0177.71
4.4.70.0000.0177.71
4.4.60.0000.0177.71
4.4.50.0000.0177.71
4.4.40.0000.0237.71
4.4.30.0000.0177.71
4.4.20.0000.0177.71
4.4.10.0070.0177.71
4.4.00.0000.0237.71
4.3.110.0100.0107.71
4.3.100.0000.0137.71
4.3.90.0000.0177.71
4.3.80.0000.0277.71
4.3.70.0000.0137.71
4.3.60.0000.0137.71
4.3.50.0000.0137.71
4.3.40.0000.0277.71
4.3.30.0000.0177.71
4.3.20.0000.0177.71
4.3.10.0030.0137.71
4.3.00.0000.0137.71

preferences:
44.97 ms | 401 KiB | 5 Q