3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [1,2,3]; $coverageList = [1=>0]; var_dump(array_flip($a)); var_dump($coverageList); var_dump(array_diff_key(array_flip($a), $coverageList)); ?>

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.4.20.0100.01020.47
8.4.10.0070.01319.34
8.3.140.0160.00316.56
8.3.130.0060.00316.67
8.3.120.0030.00618.84
8.3.110.0050.00316.40
8.3.100.0080.00016.38
8.3.90.0090.00918.23
8.3.80.0090.00018.30
8.3.70.0190.00016.38
8.3.60.0110.00716.50
8.3.50.0120.00716.51
8.3.40.0120.00318.44
8.3.30.0000.01418.46
8.3.20.0080.00020.04
8.3.10.0080.00023.56
8.3.00.0050.00323.65
8.2.260.0040.01118.90
8.2.250.0110.00418.29
8.2.240.0150.00016.81
8.2.230.0060.00320.94
8.2.220.0120.00337.54
8.2.210.0100.00026.77
8.2.200.0070.00418.42
8.2.190.0120.00316.63
8.2.180.0070.00716.63
8.2.170.0070.01422.96
8.2.160.0090.00620.52
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0040.00420.35
8.2.120.0080.00026.16
8.2.110.0100.00621.11
8.2.100.0040.00717.78
8.2.90.0000.00818.09
8.2.80.0000.00820.41
8.2.70.0050.00517.50
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0080.00018.22
8.2.30.0000.00718.05
8.2.20.0040.00417.93
8.2.10.0070.00017.98
8.2.00.0000.00717.97
8.1.310.0040.00418.34
8.1.300.0040.01220.15
8.1.290.0050.00518.88
8.1.280.0130.00325.92
8.1.270.0050.00323.96
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0100.01022.19
8.1.230.0040.00820.74
8.1.220.0040.00417.74
8.1.210.0030.00518.90
8.1.200.0000.00917.00
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0080.00018.58
8.1.160.0040.00418.73
8.1.150.0040.00418.81
8.1.140.0020.00517.63
8.1.130.0070.00018.82
8.1.120.0000.00717.46
8.1.110.0050.00317.45
8.1.100.0040.00417.44
8.1.90.0000.00717.32
8.1.80.0030.00517.36
8.1.70.0000.00817.42
8.1.60.0060.00317.37
8.1.50.0030.00617.50
8.1.40.0040.00417.43
8.1.30.0000.00817.58
8.1.20.0000.00717.43
8.1.10.0040.00417.39
8.1.00.0050.00317.33
8.0.300.0000.00720.21
8.0.290.0070.00016.58
8.0.280.0040.00418.28
8.0.270.0040.00416.81
8.0.260.0030.00316.76
8.0.250.0040.00416.87
8.0.240.0040.00716.88
8.0.230.0040.00416.88
8.0.220.0030.00316.75
8.0.210.0000.00716.80
8.0.200.0030.00316.85
8.0.190.0030.00616.90
8.0.180.0000.00716.88
8.0.170.0060.00316.85
8.0.160.0040.00316.82
8.0.150.0000.00716.82
8.0.140.0050.00216.80
8.0.130.0000.00513.20
8.0.120.0000.00916.73
8.0.110.0040.00416.81
8.0.100.0040.00416.83
8.0.90.0050.00316.84
8.0.80.0130.00616.77
8.0.70.0040.00416.93
8.0.60.0040.00416.70
8.0.50.0040.00416.86
8.0.30.0100.00916.85
8.0.20.0110.00817.40
8.0.10.0040.00416.98
8.0.00.0160.00316.52
7.4.330.0030.00316.53
7.4.320.0000.00716.54
7.4.300.0030.00316.51
7.4.290.0030.00316.38
7.4.280.0000.00716.50
7.4.270.0030.00316.36
7.4.260.0030.00316.45
7.4.250.0030.00316.38
7.4.240.0040.00416.42
7.4.230.0030.00316.59
7.4.220.0150.00316.51
7.4.210.0080.00616.50
7.4.200.0000.00716.42
7.4.160.0130.00416.32
7.4.150.0130.01317.40
7.4.140.0110.00717.86
7.4.130.0140.00416.41
7.4.120.0090.00916.47
7.4.110.0130.01016.58
7.4.100.0100.01016.27
7.4.90.0070.01016.32
7.4.80.0070.01419.39
7.4.70.0160.00616.60
7.4.60.0070.00716.30
7.4.50.0100.00316.20
7.4.40.0110.00916.39
7.4.30.0060.01016.50
7.4.10.0030.00914.62
7.4.00.0070.00814.62
7.3.330.0000.00512.89
7.3.320.0050.00013.03
7.3.310.0040.00416.23
7.3.300.0030.00316.14
7.3.290.0000.00715.96
7.3.280.0080.00816.13
7.3.270.0090.00917.40
7.3.260.0110.00716.17
7.3.250.0110.00916.35
7.3.240.0100.00716.33
7.3.230.0040.01216.32
7.3.210.0110.00816.20
7.3.200.0090.00916.22
7.3.190.0120.00916.21
7.3.180.0100.00616.41
7.3.170.0100.00516.34
7.3.160.0110.00416.47
7.3.130.0070.01014.97
7.3.120.0060.01314.88
7.3.110.0060.00914.51
7.3.100.0000.01314.32
7.3.90.0030.01014.65
7.3.80.0090.00314.82
7.3.70.0030.01214.67
7.3.60.0080.00414.58
7.3.50.0080.00514.61
7.3.40.0000.01514.81
7.3.30.0030.00614.74
7.3.20.0040.00816.14
7.3.10.0080.00316.74
7.3.00.0030.00916.36
7.2.330.0090.00916.10
7.2.320.0130.00416.29
7.2.310.0060.01016.39
7.2.300.0110.00816.48
7.2.290.0100.00716.49
7.2.260.0040.01514.79
7.2.250.0070.01315.03
7.2.240.0030.01014.58
7.2.230.0030.01114.58
7.2.220.0090.00614.69
7.2.210.0080.00414.80
7.2.200.0030.01214.93
7.2.190.0000.01414.71
7.2.180.0000.01314.86
7.2.170.0070.00714.84
7.2.160.0070.01014.97
7.2.150.0080.00416.45
7.2.140.0060.00616.52
7.2.130.0060.00616.65
7.2.120.0070.00716.52
7.2.110.0040.00816.64
7.2.100.0040.01216.68
7.2.90.0060.00616.96
7.2.80.0070.00716.79
7.2.70.0000.01116.47
7.2.60.0050.00916.68
7.2.50.0090.00616.56
7.2.40.0040.00816.86
7.2.30.0040.00816.89
7.2.20.0040.01416.48
7.2.10.0000.01416.76
7.2.00.0040.01416.71
7.1.330.0040.01415.87
7.1.320.0110.00015.82
7.1.310.0040.00816.01
7.1.300.0060.00315.66
7.1.290.0100.00015.61
7.1.280.0110.00415.91
7.1.270.0030.00915.70
7.1.260.0070.00715.54
7.1.250.0060.00615.41
7.1.240.0040.00415.71
7.1.230.0030.01215.79
7.1.220.0080.00015.74
7.1.210.0060.00615.90
7.1.200.0050.00515.80
7.1.190.0000.00815.75
7.1.180.0070.00715.55
7.1.170.0070.00715.46
7.1.160.0080.00815.71
7.1.150.0000.01215.76
7.1.140.0040.00815.48
7.1.130.0150.00015.52
7.1.120.0040.01115.80
7.1.110.0050.00716.84
7.1.100.0090.00316.96
7.1.90.0020.01216.90
7.1.80.0050.00916.83
7.1.70.0050.00816.44
7.1.60.0090.01125.24
7.1.50.0110.01125.25
7.1.40.0110.01224.98
7.1.30.0100.01125.02
7.1.20.0150.00925.21
7.1.10.0040.00816.12
7.1.00.0060.01116.29
7.0.330.0100.00315.35
7.0.320.0030.00615.50
7.0.310.0090.00315.59
7.0.300.0060.00615.36
7.0.290.0040.00415.30
7.0.280.0080.00815.32
7.0.270.0050.00515.34
7.0.260.0000.01115.08
7.0.250.0050.00616.53
7.0.240.0040.01016.48
7.0.230.0070.00616.51
7.0.220.0030.00916.38
7.0.210.0060.00615.89
7.0.200.0050.00815.86
7.0.190.0060.00915.90
7.0.180.0080.00815.58
7.0.170.0080.00615.74
7.0.160.0050.01015.86
7.0.150.0080.00815.85
7.0.140.0050.01015.74
7.0.130.0040.01315.88
7.0.120.0070.00915.93
7.0.110.0020.01015.70
7.0.100.0050.00915.83
7.0.90.0030.01215.76
7.0.80.0080.00615.68
7.0.70.0030.00815.72
7.0.60.0010.01115.66
7.0.50.0110.00215.91
7.0.40.0070.00814.88
7.0.30.0080.00514.95
7.0.20.0050.00815.02
7.0.10.0030.00714.83
7.0.00.0070.00714.83
5.6.400.0030.01014.19
5.6.390.0030.01014.20
5.6.380.0030.00714.43
5.6.370.0040.00714.24
5.6.360.0000.00814.31
5.6.350.0060.00314.51
5.6.340.0110.00314.11
5.6.330.0000.01214.25
5.6.320.0090.00614.43
5.6.310.0000.01114.10
5.6.300.0080.00014.46
5.6.290.0040.01114.38
5.6.280.0100.00714.20
5.6.270.0060.00314.23
5.6.260.0000.01014.18
5.6.250.0080.00814.09
5.6.240.0070.00714.33
5.6.230.0000.00914.38
5.6.220.0070.00313.99
5.6.210.0080.00814.31
5.6.200.0110.00414.16
5.6.190.0030.01214.20
5.6.180.0070.00613.97
5.6.170.0070.00713.93
5.6.160.0070.00414.04
5.6.150.0060.00314.39
5.6.140.0070.00714.30
5.6.130.0100.00313.96
5.6.120.0100.00314.18
5.6.110.0000.01314.25
5.6.100.0030.00613.94
5.6.90.0040.00414.22
5.6.80.0000.01113.97
5.6.70.0000.01114.19
5.6.60.0030.01014.16
5.6.50.0000.01514.24
5.6.40.0040.00713.98
5.6.30.0060.00314.35
5.6.20.0100.00314.09
5.6.10.0030.01014.06
5.6.00.0030.00614.08

preferences:
37.18 ms | 403 KiB | 5 Q