3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(parse_url('https://example.com?foo&bar')); $_GET = ['een', 'twee']; $newUrl = "http://my-new-website.com/"; $currentPage = $_SERVER['PHP_SELF']; //building the querystrging (if some GET variables where set): $queryString = "?"; $firstRun = true; foreach($_GET as $key => $value) { if(!$firstRun) { $queryString .= "&"; } $queryString .= $key."=".urlencode($value); } var_dump($queryString);

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.0110.00418.30
8.3.50.0140.00221.99
8.3.40.0070.00718.93
8.3.30.0070.00719.09
8.3.20.0070.00020.30
8.3.10.0000.00823.53
8.3.00.0040.00419.80
8.2.180.0110.00716.38
8.2.170.0120.00322.96
8.2.160.0100.00320.46
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00721.02
8.2.110.0060.00322.30
8.2.100.0060.00619.82
8.2.90.0040.00419.30
8.2.80.0040.00417.97
8.2.70.0040.00417.48
8.2.60.0030.00617.93
8.2.50.0080.00018.07
8.2.40.0040.00418.22
8.2.30.0060.00318.25
8.2.20.0040.00417.64
8.2.10.0000.00718.14
8.2.00.0050.00317.70
8.1.280.0100.00625.92
8.1.270.0080.00023.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00923.91
8.1.230.0060.00619.08
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0070.00317.35
8.1.190.0050.00317.22
8.1.180.0060.00318.10
8.1.170.0030.00718.48
8.1.160.0070.00022.02
8.1.150.0040.00418.86
8.1.140.0000.00817.51
8.1.130.0040.00417.70
8.1.120.0000.00717.48
8.1.110.0080.00017.34
8.1.100.0030.00517.48
8.1.90.0030.00317.46
8.1.80.0030.00617.48
8.1.70.0000.00717.40
8.1.60.0000.00917.51
8.1.50.0080.00017.52
8.1.40.0050.00217.42
8.1.30.0000.00817.67
8.1.20.0050.00317.63
8.1.10.0000.00817.58
8.1.00.0040.00417.40
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0040.00418.46
8.0.270.0040.00417.29
8.0.260.0000.00717.25
8.0.250.0030.00316.93
8.0.240.0050.00516.84
8.0.230.0000.00717.01
8.0.220.0000.00716.99
8.0.210.0030.00316.93
8.0.200.0030.00316.81
8.0.190.0000.00816.84
8.0.180.0040.00416.93
8.0.170.0040.00416.93
8.0.160.0030.00516.77
8.0.150.0040.00416.89
8.0.140.0110.00016.77
8.0.130.0030.00313.29
8.0.120.0030.00616.79
8.0.110.0050.00316.79
8.0.100.0070.00016.91
8.0.90.0000.00716.95
8.0.80.0090.00616.86
8.0.70.0050.00316.93
8.0.60.0040.00416.89
8.0.50.0000.00816.77
8.0.30.0140.00817.01
8.0.20.0110.01117.40
8.0.10.0060.00316.84
8.0.00.0100.01016.80
7.4.330.0030.00315.09
7.4.320.0000.00616.56
7.4.300.0000.00616.61
7.4.290.0030.00316.50
7.4.280.0000.00816.59
7.4.270.0000.00716.54
7.4.260.0000.01016.39
7.4.250.0080.00016.60
7.4.240.0060.00216.52
7.4.230.0000.00816.63
7.4.220.0040.01516.71
7.4.210.0070.01116.49
7.4.200.0000.00716.60
7.4.160.0130.00916.59
7.4.150.0090.00917.40
7.4.140.0100.00917.86
7.4.130.0060.01216.59
7.4.120.0110.00616.49
7.4.110.0110.00716.43
7.4.100.0090.00916.43
7.4.90.0060.01416.55
7.4.80.0170.00619.39
7.4.70.0090.00916.45
7.4.60.0080.01216.27
7.4.50.0000.00516.41
7.4.40.0130.00716.50
7.4.30.0150.00016.59
7.4.00.0050.01014.99
7.3.330.0050.00013.27
7.3.320.0000.00613.20
7.3.310.0070.00016.30
7.3.300.0040.00416.24
7.3.290.0090.00616.32
7.3.280.0100.00716.34
7.3.270.0130.00517.40
7.3.260.0140.00516.63
7.3.250.0130.00416.60
7.3.240.0110.00916.51
7.3.230.0090.00916.51
7.3.210.0120.00916.62
7.3.200.0090.01219.39
7.3.190.0080.01216.68
7.3.180.0040.01116.36
7.3.170.0140.00316.64
7.3.160.0060.01116.38
7.3.120.0050.01314.91
7.3.110.0000.01514.78
7.3.100.0100.00614.59
7.3.90.0060.00614.88
7.3.80.0030.01014.90
7.3.70.0060.00614.66
7.3.60.0100.00615.07
7.3.50.0000.01214.94
7.3.40.0030.01314.95
7.3.30.0060.00914.94
7.3.20.0030.01316.51
7.3.10.0090.00616.59
7.3.00.0090.00616.58
7.2.330.0080.01616.61
7.2.320.0170.00016.47
7.2.310.0060.01016.79
7.2.300.0070.01116.57
7.2.290.0080.00816.79
7.2.250.0070.01015.12
7.2.240.0100.01014.93
7.2.230.0070.01115.33
7.2.220.0060.00315.13
7.2.210.0030.01315.31
7.2.200.0030.01315.24
7.2.190.0070.01015.01
7.2.180.0070.00415.02
7.2.170.0080.00815.04
7.2.60.0070.00716.98
7.2.50.0160.00616.79
7.1.330.0080.00415.70
7.1.320.0090.00615.79
7.1.310.0120.00315.66
7.1.300.0070.00715.80
7.1.290.0000.00815.83
7.1.280.0030.01315.83
7.1.270.0060.00915.68
7.1.260.0090.00615.68
7.1.200.0070.00715.83
7.1.70.0000.01117.09
7.1.60.0090.01519.70
7.1.50.0030.01716.61
7.1.00.0070.07322.35
7.0.200.0150.00516.63
7.0.140.0000.07322.00
7.0.60.0100.04019.95
7.0.50.0030.05317.78
7.0.40.0100.07320.21
7.0.30.0300.08020.35
7.0.20.0270.07719.97
7.0.10.0030.06320.03
7.0.00.0100.03320.01
5.6.280.0030.07321.04
5.6.210.0170.04020.69
5.6.200.0030.08018.22
5.6.190.0070.06320.56
5.6.180.0200.08320.56
5.6.170.0200.05320.66
5.6.160.0000.04720.51
5.6.150.0070.07018.17
5.6.140.0030.04018.20
5.6.130.0000.08718.21
5.6.120.0000.04721.08
5.6.110.0130.05021.13
5.6.100.0130.06021.08
5.6.90.0000.09020.96
5.6.80.0100.06320.53
5.5.350.0270.06720.46
5.5.340.0130.07717.96
5.5.330.0030.04020.22
5.5.320.0170.04720.42
5.5.310.0300.04720.50
5.5.300.0000.04317.87
5.5.290.0100.07017.95
5.5.280.0100.05720.68
5.5.270.0130.08320.79
5.5.260.0070.08720.64
5.5.250.0100.08320.65
5.5.240.0000.03320.15
5.4.450.2670.04319.57
5.4.440.1800.04719.39
5.4.430.3000.04019.25
5.4.420.3270.03719.13
5.4.410.2730.03719.28
5.4.400.2930.03019.25
5.4.390.2400.04019.26
5.4.380.2970.04019.08
5.4.370.3100.03319.09
5.4.360.3070.04019.14
5.4.350.3030.04718.92
5.4.340.3300.03318.94
5.4.320.3500.03719.13
5.4.310.3500.03718.93
5.4.300.3470.03718.80
5.4.290.3500.03319.24
5.4.280.3170.03718.88
5.4.270.3400.03719.16
5.4.260.3170.03319.08
5.4.250.3400.03319.23
5.4.240.3470.03019.08
5.4.230.3370.03019.09
5.4.220.3470.04319.08
5.4.210.3570.04319.05
5.4.200.3670.04018.88
5.4.190.3400.03719.08
5.4.180.3500.04319.07
5.4.170.3130.04019.12
5.4.160.3030.03719.08
5.4.150.3600.04018.78
5.4.140.3400.04016.20
5.4.130.3530.04316.54
5.4.120.3470.03716.18
5.4.110.4000.03716.43
5.4.100.3730.03716.34
5.4.90.3770.03316.50
5.4.80.3900.03016.41
5.4.70.3800.04016.44
5.4.60.4200.03716.43
5.4.50.3800.04016.21
5.4.40.3530.03016.36
5.4.30.3870.04016.49
5.4.20.3530.03316.45
5.4.10.4170.04016.20
5.4.00.4100.04315.74
5.3.290.4130.03714.52
5.3.280.3430.03314.53
5.3.270.4070.03314.70
5.3.260.4130.03314.52
5.3.250.4100.03714.55
5.3.240.3530.03314.56
5.3.230.3130.04314.59
5.3.220.3530.03714.43
5.3.210.4500.03314.41
5.3.200.3470.03314.55
5.3.190.3100.04014.48
5.3.180.3000.03714.44
5.3.170.3500.04014.40
5.3.160.3300.03314.66
5.3.150.3330.03014.51
5.3.140.3470.03314.39
5.3.130.3500.04014.40
5.3.120.3000.03714.49
5.3.110.4070.03714.40
5.3.100.3630.03714.05
5.3.90.3730.03013.96
5.3.80.4130.04013.92
5.3.70.4030.03313.87
5.3.60.4200.03713.91
5.3.50.3970.03713.74
5.3.40.3970.03713.89
5.3.30.3500.03313.82
5.3.20.3200.03313.46
5.3.10.3900.03013.67
5.3.00.3430.03313.51
5.2.170.3430.03311.01
5.2.160.3500.03311.08
5.2.150.2870.03011.08
5.2.140.2700.03011.22
5.2.130.2870.03311.04
5.2.120.3570.03011.11
5.2.110.3230.03011.00
5.2.100.3430.03011.12
5.2.90.3270.03011.18
5.2.80.3500.03011.03
5.2.70.3230.02310.95
5.2.60.3300.03011.14
5.2.50.2700.03310.91
5.2.40.2270.02310.92
5.2.30.2400.03010.81
5.2.20.2500.03010.82
5.2.10.2570.02310.83
5.2.00.3470.02010.65
5.1.60.2700.02310.51
5.1.50.2470.02710.51
5.1.40.2930.02310.51
5.1.30.2500.02710.51
5.1.20.2630.03010.51
5.1.10.2800.03010.51
5.1.00.2500.02310.51
5.0.50.1600.02010.51
5.0.40.1300.01710.51
5.0.30.1300.03010.51
5.0.20.1430.01710.51
5.0.10.1530.02010.51
5.0.00.1570.03310.51
4.4.90.1630.01710.51
4.4.80.1530.01310.51
4.4.70.1630.01310.51
4.4.60.1500.01710.51
4.4.50.1400.02310.51
4.4.40.1500.02310.51
4.4.30.1570.02010.51
4.4.20.1730.01710.51
4.4.10.1330.01310.51
4.4.00.1430.02310.51
4.3.110.1400.01310.51
4.3.100.1100.01310.51
4.3.90.1270.02010.51
4.3.80.0800.02010.51
4.3.70.1030.01710.51
4.3.60.1330.01710.51
4.3.50.1070.01310.51
4.3.40.1300.03010.51
4.3.30.0800.01010.51
4.3.20.0730.02710.51
4.3.10.0630.01710.51
4.3.00.0770.01710.51

preferences:
43.64 ms | 401 KiB | 5 Q