3v4l.org

run code in 300+ PHP versions simultaneously
<?php class URL { //! aggiunge gli array di dati e tutta la qry str passata in get ad un url public static function append($url = '', array $a = array()) { $g = $_GET; for ($i = 1; $i < func_num_args(); $i++) { $a = func_get_arg($i); $g = array_merge($g, $a); } // non propagare MAI le key speciali usate dal login $g['__u__'] = null; $g['__p__'] = null; return $url . '?' . http_build_query($g); } }

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.00416.50
8.3.50.0130.00616.34
8.3.40.0170.00318.73
8.3.30.0140.00018.45
8.3.20.0030.00518.47
8.3.10.0080.00020.23
8.3.00.0080.00017.50
8.2.180.0110.00316.32
8.2.170.0110.00422.96
8.2.160.0100.00322.09
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0070.00019.71
8.2.110.0040.00719.39
8.2.100.0110.00017.72
8.2.90.0040.00418.97
8.2.80.0050.00317.97
8.2.70.0000.00917.50
8.2.60.0000.00817.78
8.2.50.0000.00818.07
8.2.40.0040.00418.03
8.2.30.0070.00017.93
8.2.20.0070.00017.52
8.2.10.0000.00817.42
8.2.00.0040.00417.54
8.1.280.0120.00325.92
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00622.05
8.1.230.0060.00620.78
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.23
8.1.190.0040.00417.28
8.1.180.0000.00818.10
8.1.170.0000.00718.77
8.1.160.0040.00418.63
8.1.150.0070.00018.50
8.1.140.0040.00417.32
8.1.130.0030.00617.74
8.1.120.0040.00417.34
8.1.110.0070.00017.29
8.1.100.0000.00717.28
8.1.90.0040.00417.24
8.1.80.0000.00817.32
8.1.70.0040.00417.28
8.1.60.0060.00317.46
8.1.50.0050.00217.31
8.1.40.0030.00617.38
8.1.30.0040.00417.39
8.1.20.0000.00917.36
8.1.10.0030.00517.27
8.1.00.0000.00817.31
8.0.300.0000.00718.77
8.0.290.0000.00716.58
8.0.280.0030.00418.31
8.0.270.0040.00417.12
8.0.260.0030.00316.72
8.0.250.0050.00216.72
8.0.240.0070.00016.82
8.0.230.0070.00016.80
8.0.220.0070.00016.78
8.0.210.0030.00316.76
8.0.200.0030.00316.81
8.0.190.0000.00716.78
8.0.180.0070.00016.78
8.0.170.0050.00516.79
8.0.160.0000.00716.81
8.0.150.0000.00816.77
8.0.140.0100.00016.71
8.0.130.0060.00013.19
8.0.120.0040.00416.61
8.0.110.0000.00816.77
8.0.100.0040.00416.82
8.0.90.0050.00216.63
8.0.80.0110.00316.73
8.0.70.0040.00416.65
8.0.60.0000.00716.64
8.0.50.0040.00416.63
8.0.30.0140.00516.71
8.0.20.0100.00816.80
8.0.10.0050.00216.82
8.0.00.0100.00816.61
7.4.330.0020.00212.87
7.4.320.0030.00616.43
7.4.300.0000.00616.38
7.4.290.0030.00316.45
7.4.280.0030.00616.38
7.4.270.0000.00716.35
7.4.260.0000.00513.25
7.4.250.0040.00416.46
7.4.240.0000.00716.48
7.4.230.0000.00816.49
7.4.220.0180.00916.30
7.4.210.0080.00816.43
7.4.200.0040.00416.56
7.4.190.0030.00316.41
7.4.160.0160.00016.08
7.4.150.0090.00916.39
7.4.140.0060.01416.42
7.4.130.0130.00516.28
7.4.120.0080.00816.41
7.4.110.0070.01016.18
7.4.100.0090.00916.32
7.4.90.0140.01016.30
7.4.80.0130.01016.34
7.4.70.0080.00816.14
7.4.60.0110.01116.37
7.4.50.0020.00216.20
7.4.40.0000.01316.19
7.4.30.0130.00316.18
7.4.00.0040.00814.42
7.3.330.0030.00313.18
7.3.320.0050.00013.19
7.3.310.0030.00316.27
7.3.300.0070.00016.18
7.3.290.0040.01116.16
7.3.280.0090.00816.16
7.3.270.0070.01016.19
7.3.260.0060.01316.31
7.3.250.0100.00816.37
7.3.240.0060.01016.23
7.3.230.0150.00416.23
7.3.210.0100.00716.34
7.3.200.0090.01319.39
7.3.190.0200.00616.46
7.3.180.0070.01416.18
7.3.170.0030.01316.17
7.3.160.0090.00616.48
7.3.120.0090.00614.56
7.3.10.0080.00616.53
7.3.00.0030.01016.29
7.2.330.0180.00316.54
7.2.320.0120.00916.57
7.2.310.0060.01816.63
7.2.300.0090.00616.11
7.2.290.0130.01016.64
7.2.130.0060.00316.72
7.2.120.0090.00616.54
7.2.110.0040.00716.83
7.2.100.0080.00816.73
7.2.90.0090.00616.43
7.2.80.0120.00016.57
7.2.70.0040.00416.39
7.2.60.0070.00716.76
7.2.50.0030.00716.50
7.2.40.0130.00316.68
7.2.30.0060.00916.44
7.2.20.0000.01216.71
7.2.10.0090.00016.63
7.2.00.0080.00516.51
7.1.250.0030.00615.32
7.1.100.0070.00717.42
7.1.70.0000.00816.84
7.1.60.0070.01519.40
7.1.50.0040.00716.77
7.1.00.0130.06722.48
7.0.200.0000.00716.57
7.0.140.0030.07322.04
7.0.120.0100.06722.03
7.0.60.0030.05320.02
7.0.50.0100.03717.86
7.0.40.0000.04720.10
7.0.30.0170.05720.07
7.0.20.0370.05320.25
7.0.10.0200.07720.15
7.0.00.0070.08320.15
5.6.280.0030.04721.16
5.6.210.0070.06320.48
5.6.200.0070.08018.29
5.6.190.0030.05020.66
5.6.180.0600.05720.46
5.6.170.0300.06320.44
5.6.160.0100.03720.56
5.6.150.0130.03018.21
5.6.140.0130.07318.11
5.6.130.0100.07718.18
5.6.120.0070.08721.13
5.6.110.0070.09020.89
5.6.100.0100.06321.07
5.6.90.0200.07321.13
5.6.80.0100.04020.51
5.6.70.4330.04020.38
5.5.350.0300.08020.47
5.5.340.0100.07717.98
5.5.330.0070.03720.53
5.5.320.0230.07720.46
5.5.310.0270.05720.30
5.5.300.0070.05017.94
5.5.290.0100.08017.98
5.5.280.0070.08320.73
5.5.270.0070.04020.68
5.5.260.0170.07320.77
5.5.250.0130.07020.50
5.5.240.0030.07020.02
5.4.450.0070.04019.31
5.4.440.0100.05319.19
5.4.430.0000.04719.46
5.4.420.0030.04319.18
5.4.410.0000.04319.05
5.4.400.0030.04019.17
5.4.390.0030.03719.15
5.4.380.0030.04019.14
5.4.370.0130.07319.15
5.4.360.0070.06319.16
5.4.350.0100.04019.24
5.4.340.0170.05318.98
5.4.320.0100.07018.86
5.4.310.0070.03719.08
5.4.300.0070.07019.24
5.4.290.0070.04019.20
5.4.280.0100.05719.16
5.4.270.0100.07018.85
5.4.260.0000.06319.24
5.4.250.0070.04318.91
5.4.240.0070.04719.14
5.4.230.0000.07019.23
5.4.220.0030.07018.84
5.4.210.0030.07718.84
5.4.200.0130.06019.15
5.4.190.0000.08319.13
5.4.180.0100.05318.96
5.4.170.0000.08319.13
5.4.160.0030.06319.13
5.4.150.0070.04718.95
5.4.140.0100.04016.50
5.4.130.0000.04316.32
5.4.120.0070.05716.34
5.4.110.0100.06716.57
5.4.100.0100.03316.41
5.4.90.0030.06716.28
5.4.80.0030.05716.36
5.4.70.0100.04316.52
5.4.60.0200.06016.50
5.4.50.0000.08016.29
5.4.40.0000.04016.36
5.4.30.0030.06016.42
5.4.20.0130.06316.43
5.4.10.0070.07316.46
5.4.00.0100.06015.95
5.3.290.0070.06314.69
5.3.280.0070.04314.63
5.3.270.0030.06314.61
5.3.260.0130.03714.61
5.3.250.0170.05714.65
5.3.240.0000.06314.61
5.3.230.0070.05014.61
5.3.220.0070.07314.59
5.3.210.0100.08014.58
5.3.200.0000.08014.57
5.3.190.0030.08314.61
5.3.180.0030.07314.45
5.3.170.0070.07314.57
5.3.160.0030.08314.64
5.3.150.0070.07714.45
5.3.140.0000.04714.71
5.3.130.0070.03714.54
5.3.120.0030.08314.57
5.3.110.0030.07714.57
5.3.100.0030.04014.04
5.3.90.0030.04014.18
5.3.80.0070.03314.07
5.3.70.0000.04014.17
5.3.60.0130.03314.00
5.3.50.0100.06713.89
5.3.40.0030.03713.96
5.3.30.0000.04013.85
5.3.20.0170.06013.70
5.3.10.0100.06713.63
5.3.00.0030.08313.65
5.2.170.0100.03711.09
5.2.160.0000.04011.07
5.2.150.0100.04311.11
5.2.140.0030.04011.16
5.2.130.0030.05711.10
5.2.120.0070.06011.27
5.2.110.0100.04311.07
5.2.100.0070.03711.26
5.2.90.0100.03011.09
5.2.80.0000.04311.24
5.2.70.0000.03311.13
5.2.60.0000.05311.11
5.2.50.0070.06310.93
5.2.40.0030.03710.99
5.2.30.0130.05711.11
5.2.20.0070.04310.97
5.2.10.0100.05310.82
5.2.00.0130.03010.68
5.1.60.0070.04310.01
5.1.50.0070.05010.02
5.1.40.0100.04710.01
5.1.30.0030.04710.37
5.1.20.0100.05710.27
5.1.10.0100.05310.13
5.1.00.0000.05010.07
5.0.50.0030.0338.70
5.0.40.0000.0438.43
5.0.30.0030.0678.13
5.0.20.0030.0208.25
5.0.10.0030.0378.16
5.0.00.0000.0338.23
4.4.90.0030.0377.58
4.4.80.0070.0277.58
4.4.70.0000.0337.58
4.4.60.0000.0237.58
4.4.50.0000.0377.58
4.4.40.0030.0537.58
4.4.30.0000.0277.58
4.4.20.0000.0307.58
4.4.10.0000.0337.58
4.4.00.0000.0607.58
4.3.110.0030.0277.58
4.3.100.0000.0177.58
4.3.90.0030.0177.58
4.3.80.0000.0477.58
4.3.70.0070.0337.58
4.3.60.0030.0277.58
4.3.50.0000.0377.58
4.3.40.0030.0507.58
4.3.30.0000.0377.58
4.3.20.0000.0377.58
4.3.10.0000.0337.58
4.3.00.0030.0137.58

preferences:
41.22 ms | 401 KiB | 5 Q