3v4l.org

run code in 300+ PHP versions simultaneously
<?php //An array of ['region', ['username', 'username']] arrays $savedSummoners = [ ['na',['example', 'example2']], ['euw',['example3']], ]; var_export($savedSummoners);

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.0070.00718.43
8.3.50.0090.00922.05
8.3.40.0070.00718.50
8.3.30.0070.01318.91
8.3.20.0040.00420.22
8.3.10.0000.00923.53
8.3.00.0030.00619.25
8.2.180.0070.00718.28
8.2.170.0170.00322.96
8.2.160.0070.00720.39
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0030.01026.16
8.2.120.0040.00422.26
8.2.110.0030.00720.99
8.2.100.0080.00417.59
8.2.90.0040.00419.28
8.2.80.0070.00019.32
8.2.70.0030.00617.50
8.2.60.0050.00319.58
8.2.50.0050.00318.07
8.2.40.0080.00019.82
8.2.30.0080.00019.77
8.2.20.0080.00017.60
8.2.10.0050.00217.98
8.2.00.0030.00717.52
8.1.280.0070.00725.92
8.1.270.0050.00323.96
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0040.00422.66
8.1.230.0070.00320.32
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0060.00317.23
8.1.190.0040.00417.11
8.1.180.0050.00318.10
8.1.170.0040.00418.39
8.1.160.0000.00721.81
8.1.150.0000.00918.57
8.1.140.0040.00417.43
8.1.130.0070.00017.81
8.1.120.0040.00417.41
8.1.110.0030.00517.36
8.1.100.0050.00217.39
8.1.90.0080.00017.25
8.1.80.0000.00717.37
8.1.70.0030.00317.37
8.1.60.0050.00317.52
8.1.50.0040.00417.38
8.1.40.0040.00417.39
8.1.30.0040.00417.38
8.1.20.0060.00317.59
8.1.10.0040.00417.43
8.1.00.0080.00017.45
8.0.300.0070.00018.77
8.0.290.0070.00016.63
8.0.280.0070.00018.36
8.0.270.0040.00416.70
8.0.260.0000.00617.20
8.0.250.0000.00716.76
8.0.240.0050.00316.87
8.0.230.0030.00316.87
8.0.220.0000.00716.79
8.0.210.0000.00716.81
8.0.200.0000.00616.97
8.0.190.0050.00316.94
8.0.180.0070.00016.89
8.0.170.0050.00316.82
8.0.160.0040.00416.72
8.0.150.0000.00716.68
8.0.140.0040.00416.66
8.0.130.0030.00313.25
8.0.120.0000.00816.62
8.0.110.0000.00716.79
8.0.100.0000.00816.63
8.0.90.0000.00816.70
8.0.80.0070.01416.70
8.0.70.0050.00316.71
8.0.60.0040.00416.76
8.0.50.0050.00216.86
8.0.30.0090.00917.02
8.0.20.0170.00317.40
8.0.10.0050.00316.90
8.0.00.0080.00816.58
7.4.330.0020.00215.03
7.4.320.0050.00216.53
7.4.300.0020.00516.45
7.4.290.0050.00316.52
7.4.280.0060.00316.32
7.4.270.0070.00016.43
7.4.260.0030.00316.45
7.4.250.0070.00016.38
7.4.240.0070.00016.50
7.4.230.0000.00816.42
7.4.220.0060.01216.41
7.4.210.0100.00716.38
7.4.200.0040.00216.41
7.4.190.0030.00516.57
7.4.160.0060.01016.19
7.4.150.0140.00317.40
7.4.140.0180.01817.86
7.4.130.0090.01016.57
7.4.120.0040.01416.49
7.4.110.0070.01016.38
7.4.100.0130.01016.37
7.4.90.0100.00616.29
7.4.80.0190.00319.39
7.4.70.0100.00716.19
7.4.60.0070.00716.26
7.4.50.0000.00516.45
7.4.40.0000.01522.77
7.4.30.0030.01316.45
7.4.00.0030.01014.57
7.3.330.0050.00012.97
7.3.320.0000.00512.89
7.3.310.0030.00315.98
7.3.300.0030.00316.18
7.3.290.0000.01916.18
7.3.280.0050.01116.12
7.3.270.0090.00617.40
7.3.260.0090.00916.50
7.3.250.0100.00816.38
7.3.240.0090.00916.24
7.3.230.0060.01016.39
7.3.210.0100.00716.36
7.3.200.0080.01419.39
7.3.190.0130.00516.02
7.3.180.0030.01416.10
7.3.170.0030.01316.46
7.3.160.0060.00916.11
7.3.120.0060.01014.74
7.2.330.0030.01716.54
7.2.320.0100.00716.30
7.2.310.0060.01216.46
7.2.300.0100.00616.29
7.2.290.0110.01016.52
7.2.60.0030.01216.75
7.2.00.0070.01019.12
7.1.200.0070.00715.51
7.1.100.0100.00617.93
7.1.70.0050.00516.95
7.1.60.0040.01519.46
7.1.50.0060.01016.81
7.1.00.0070.07022.40
7.0.200.0210.00714.74
7.0.140.0000.07722.00
7.0.60.0100.07319.95
7.0.50.0070.04017.77
7.0.40.0070.08320.25
7.0.30.0530.07020.20
7.0.20.0300.04020.17
7.0.10.0100.08320.10
7.0.00.0070.07020.18
5.6.280.0100.06721.02
5.6.210.0100.07720.52
5.6.200.0130.03318.11
5.6.190.0100.08320.57
5.6.180.0270.03020.35
5.6.170.0400.07020.52
5.6.160.0030.07020.33
5.6.150.0130.07018.16
5.6.140.0030.08318.16
5.6.130.0070.06018.11
5.6.120.0030.04020.98
5.6.110.0070.08721.11
5.6.100.0070.08720.97
5.6.90.0100.08020.99
5.6.80.0070.04720.43
5.6.70.3900.04320.34
5.5.350.0000.08720.51
5.5.340.0000.09017.95
5.5.330.0070.09020.45
5.5.320.0230.07720.34
5.5.310.0230.03320.50
5.5.300.0030.07017.98
5.5.290.0100.06317.87
5.5.280.0030.04020.89
5.5.270.0070.04320.75
5.5.260.0070.06020.78
5.5.250.0030.08320.77
5.5.240.0200.04020.22
5.4.450.0570.06019.48
5.4.440.0900.04719.62
5.4.430.0930.06019.09
5.4.420.0670.07019.60
5.4.410.0670.05018.98
5.4.400.0630.05719.13
5.4.390.0770.05318.78
5.4.380.0300.05718.72
5.4.370.0300.04718.68
5.4.360.0230.05318.72
5.4.350.0430.03718.64
5.4.340.0270.06018.46
5.4.320.0040.04912.45
5.4.310.0060.03812.45
5.4.300.0110.03812.45
5.4.290.0130.06812.43
5.4.280.0080.05512.33
5.4.270.0130.05512.33
5.4.260.0260.09012.33
5.4.250.0170.08412.33
5.4.240.0110.05612.33
5.4.230.0100.05812.32
5.4.220.0080.06512.32
5.4.210.0140.05612.32
5.4.200.0100.04412.32
5.4.190.0110.04112.32
5.4.180.0070.03912.32
5.4.170.0070.03812.33
5.4.160.0090.05612.33
5.4.150.0050.04012.32
5.4.140.0080.03612.01
5.4.130.0040.03811.99
5.4.120.0060.03511.95
5.4.110.0100.03111.95
5.4.100.0050.04011.95
5.4.90.0070.03611.95
5.4.80.0040.03911.95
5.4.70.0050.03711.95
5.4.60.0070.03711.95
5.4.50.0060.04611.94
5.4.40.0040.04211.93
5.4.30.0050.03811.93
5.4.20.0060.03611.93
5.4.10.0110.05211.93
5.4.00.0050.05411.42
5.3.290.0090.03712.80
5.3.280.0110.04712.71
5.3.270.0090.04412.72
5.3.260.0100.06012.72
5.3.250.0110.04712.72
5.3.240.0080.04012.72
5.3.230.0090.04912.71
5.3.220.0080.03612.68
5.3.210.0030.04312.68
5.3.200.0080.03512.68
5.3.190.0040.04012.68
5.3.180.0100.03312.68
5.3.170.0050.03912.67
5.3.160.0060.03712.68
5.3.150.0060.04212.68
5.3.140.0040.04012.66
5.3.130.0030.04212.66
5.3.120.0050.04312.66
5.3.110.0060.04212.66
5.3.100.0080.03912.12
5.3.90.0100.05012.09
5.3.80.0060.06012.07
5.3.70.0140.04512.07
5.3.60.0100.05212.06
5.3.50.0080.04912.01
5.3.40.0050.05812.00
5.3.30.0100.04711.95
5.3.20.0100.04411.72
5.3.10.0100.04611.70
5.3.00.0080.04711.68
5.2.170.0030.0319.18
5.2.160.0060.0279.18
5.2.150.0060.0299.18
5.2.140.0050.0309.18
5.2.130.0050.0289.14
5.2.120.0070.0269.14
5.2.110.0040.0309.14
5.2.100.0050.0289.14
5.2.90.0070.0419.14
5.2.80.0050.0559.14
5.2.70.0070.0419.14
5.2.60.0070.0449.09
5.2.50.0060.0419.05
5.2.40.0090.0399.03
5.2.30.0060.0459.01
5.2.20.0060.0399.00
5.2.10.0090.0488.93
5.2.00.0090.0418.78
5.1.60.0080.0368.07
5.1.50.0080.0408.06
5.1.40.0040.0368.05
5.1.30.0060.0398.40
5.1.20.0040.0458.42
5.1.10.0040.0418.14
5.1.00.0030.0438.14
5.0.50.0090.0276.62
5.0.40.0030.0286.48
5.0.30.0050.0446.29
5.0.20.0080.0256.26
5.0.10.0050.0286.24
5.0.00.0040.0436.23
4.4.90.0030.0234.78
4.4.80.0040.0214.76
4.4.70.0050.0204.76
4.4.60.0030.0244.75
4.4.50.0070.0194.77
4.4.40.0050.0344.71
4.4.30.0050.0194.76
4.4.20.0040.0224.84
4.4.10.0040.0364.85
4.4.00.0040.0314.76
4.3.110.0020.0184.67
4.3.100.0050.0214.67
4.3.90.0030.0204.64
4.3.80.0040.0354.59
4.3.70.0030.0184.63
4.3.60.0030.0224.63
4.3.50.0050.0154.63
4.3.40.0030.0264.54
4.3.30.0020.0173.28
4.3.20.0020.0183.26
4.3.10.0030.0193.22
4.3.00.0000.01713.17

preferences:
47.12 ms | 401 KiB | 5 Q