3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://www.whatever.com/some/path/"; $url2 = "/other/path/"; echo http_build_url($url, $url2);

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.0120.00616.50
8.3.50.0130.00522.10
8.3.40.0110.00718.83
8.3.30.0090.00618.64
8.3.20.0040.00420.25
8.3.10.0040.00423.54
8.3.00.0060.00317.68
8.2.180.0190.00316.63
8.2.170.0140.00022.96
8.2.160.0090.00620.55
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00417.63
8.2.110.0090.00322.18
8.2.100.0080.00417.80
8.2.90.0050.00319.22
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0030.00917.93
8.2.50.0080.00018.07
8.2.40.0050.00321.11
8.2.30.0020.00520.52
8.2.20.0000.00717.65
8.2.10.0080.00017.94
8.2.00.0040.00418.11
8.1.280.0140.00725.92
8.1.270.0040.00423.66
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0090.00022.54
8.1.230.0080.00417.42
8.1.220.0070.00017.74
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0030.00617.23
8.1.180.0030.00518.10
8.1.170.0030.00520.35
8.1.160.0070.00021.96
8.1.150.0050.00218.81
8.1.140.0030.00619.39
8.1.130.0000.00717.55
8.1.120.0000.00717.32
8.1.110.0000.00817.46
8.1.100.0040.00417.41
8.1.90.0000.00717.29
8.1.80.0030.00517.43
8.1.70.0040.00417.41
8.1.60.0040.00417.48
8.1.50.0040.00417.43
8.1.40.0040.00417.55
8.1.30.0080.00017.54
8.1.20.0000.00817.62
8.1.10.0040.00417.61
8.1.00.0000.00717.58
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00718.30
8.0.270.0030.00317.07
8.0.260.0030.00317.07
8.0.250.0040.00417.00
8.0.240.0000.00716.98
8.0.230.0050.00216.89
8.0.220.0030.00516.75
8.0.210.0040.00416.79
8.0.200.0000.00716.86
8.0.190.0040.00416.94
8.0.180.0000.00716.84
8.0.170.0040.00416.85
8.0.160.0030.00316.93
8.0.150.0030.00316.75
8.0.140.0070.00016.92
8.0.130.0000.00613.37
8.0.120.0030.00616.89
8.0.110.0030.00516.89
8.0.100.0040.00416.93
8.0.90.0070.00017.01
8.0.80.0070.01016.83
8.0.70.0040.00416.93
8.0.60.0050.00216.90
8.0.50.0040.00416.69
8.0.30.0090.01217.03
8.0.20.0080.01117.40
8.0.10.0070.00016.87
8.0.00.0070.01116.74
7.4.330.0050.00015.08
7.4.320.0000.00616.43
7.4.300.0030.00316.64
7.4.290.0000.00716.61
7.4.280.0070.00016.55
7.4.270.0030.00316.55
7.4.260.0040.00416.63
7.4.250.0090.00016.43
7.4.240.0020.00616.61
7.4.230.0070.00016.64
7.4.220.0120.00616.60
7.4.210.0060.00916.59
7.4.200.0000.00716.40
7.4.160.0090.00616.52
7.4.150.0090.00917.40
7.4.140.0070.01117.86
7.4.130.0180.01016.57
7.4.120.0100.00616.55
7.4.110.0030.01616.39
7.4.100.0110.00616.49
7.4.90.0120.00616.54
7.4.80.0130.00319.39
7.4.70.0060.01016.39
7.4.60.0080.00816.59
7.4.50.0000.00916.55
7.4.40.0060.01516.41
7.4.30.0060.01016.33
7.4.00.0060.00815.09
7.3.330.0000.00813.13
7.3.320.0050.00013.19
7.3.310.0070.00016.33
7.3.300.0000.00716.25
7.3.290.0080.00816.23
7.3.280.0090.00616.27
7.3.270.0030.01617.40
7.3.260.0030.01316.24
7.3.240.0120.00816.40
7.3.230.0090.01216.39
7.3.210.0140.00416.51
7.3.200.0160.00016.42
7.3.190.0100.01016.37
7.3.180.0140.00916.43
7.3.170.0090.00616.27
7.3.160.0060.00916.21
7.3.120.0140.00314.80
7.3.110.0090.00914.88
7.3.100.0070.00714.47
7.3.90.0070.00314.69
7.3.80.0070.00414.77
7.3.70.0030.01014.71
7.3.60.0100.00314.63
7.3.50.0090.00614.79
7.3.40.0100.00314.41
7.3.30.0060.00614.82
7.3.20.0000.01416.76
7.3.10.0070.01016.62
7.3.00.0030.00916.62
7.2.330.0230.00016.41
7.2.320.0040.01216.46
7.2.310.0090.01216.11
7.2.300.0060.00916.54
7.2.290.0100.01316.41
7.2.250.0030.01514.70
7.2.240.0000.01915.06
7.2.230.0000.01114.38
7.2.220.0110.00314.93
7.2.210.0060.00615.11
7.2.200.0040.01414.94
7.2.190.0070.00714.91
7.2.180.0030.01214.95
7.2.170.0030.00915.03
7.2.60.0070.00716.88
7.2.00.0070.01019.00
7.1.330.0080.00415.64
7.1.320.0070.00715.42
7.1.310.0100.00315.75
7.1.300.0070.00715.54
7.1.290.0040.00815.34
7.1.280.0030.00715.37
7.1.270.0070.01015.42
7.1.260.0090.00315.43
7.1.200.0120.00015.40
7.1.100.0070.01017.63
7.1.70.0140.01417.11
7.1.60.0120.01219.11
7.1.50.0100.01416.79
7.1.00.0030.07322.42
7.0.200.0300.00714.86
7.0.60.0070.08019.81
7.0.50.0000.05317.66
7.0.40.0100.04720.04
7.0.30.0400.06720.21
7.0.20.0300.08020.18
7.0.10.0430.04720.09
7.0.00.0100.05020.09
5.6.210.0070.03720.46
5.6.200.0130.07018.20
5.6.190.0030.08720.41
5.6.180.4200.04720.63
5.6.170.0270.05320.34
5.6.160.0000.09020.38
5.6.150.0030.08718.16
5.6.140.0070.08318.18
5.6.130.0070.08318.09
5.6.120.0170.04020.98
5.6.110.0030.09020.88
5.6.100.0130.08021.12
5.6.90.0130.06021.09
5.6.80.0070.08020.50
5.6.70.0070.07720.36
5.5.350.0130.03720.52
5.5.340.0070.03717.98
5.5.330.0100.05320.54
5.5.320.0270.04020.47
5.5.310.0270.05020.27
5.5.300.0130.07718.04
5.5.290.0100.07017.95
5.5.280.0070.08320.76
5.5.270.0070.06020.86
5.5.260.0130.08020.75
5.5.250.0300.05720.77
5.5.240.0070.08020.27
5.4.450.0030.04319.13
5.4.440.0030.07319.46
5.4.430.0070.05719.13
5.4.420.0070.07019.41
5.4.410.0030.08319.12
5.4.400.0030.05019.22
5.4.390.0070.06319.08
5.4.380.0000.04719.09
5.4.370.0030.04319.09
5.4.360.0030.04019.16
5.4.350.0070.04719.08
5.4.340.0030.06719.13
5.4.320.0070.07719.09
5.4.310.0130.03719.08
5.4.300.0070.07318.80
5.4.290.0070.07318.91
5.4.280.0070.04718.78
5.4.270.0000.08018.79
5.4.260.0030.08019.15
5.4.250.0070.06719.07
5.4.240.0070.07019.08
5.4.230.0030.07719.07
5.4.220.0070.07719.03
5.4.210.0000.06718.95
5.4.200.0000.04319.08
5.4.190.0070.04319.12
5.4.180.0030.07318.79
5.4.170.0000.04719.16
5.4.160.0100.06719.19
5.4.150.0070.07318.89
5.4.140.0100.05016.35
5.4.130.0030.05716.28
5.4.120.0070.04316.27
5.4.110.0000.04316.06
5.4.100.0000.07016.40
5.4.90.0000.07016.39

preferences:
49.86 ms | 401 KiB | 5 Q