3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( array('a' => 'testA', 'b' => 'testB'), array('a' =>'testC', 'b' => 'testD') ); print_r(array_keys(testC));

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.0060.01316.75
8.3.50.0130.00716.48
8.3.40.0070.01118.83
8.3.30.0070.00718.57
8.3.20.0060.00318.81
8.3.10.0090.00020.54
8.3.00.0080.00019.38
8.2.180.0040.01116.63
8.2.170.0140.00722.96
8.2.160.0110.00420.53
8.2.150.0000.00724.18
8.2.140.0060.00324.66
8.2.130.0090.00026.16
8.2.120.0080.00020.71
8.2.110.0090.00020.89
8.2.100.0040.00717.84
8.2.90.0000.00819.21
8.2.80.0000.00817.97
8.2.70.0000.00817.75
8.2.60.0040.00417.77
8.2.50.0030.00618.07
8.2.40.0090.00018.03
8.2.30.0000.00818.04
8.2.20.0000.00717.78
8.2.10.0000.00817.80
8.2.00.0030.00717.79
8.1.280.0150.00025.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00422.20
8.1.230.0040.00718.88
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0000.00818.55
8.1.160.0050.00318.92
8.1.150.0030.00518.58
8.1.140.0080.00017.37
8.1.130.0000.00717.87
8.1.120.0050.00317.34
8.1.110.0000.00817.46
8.1.100.0040.00417.44
8.1.90.0020.00517.45
8.1.80.0000.00817.42
8.1.70.0030.00617.36
8.1.60.0000.00917.46
8.1.50.0000.00817.47
8.1.40.0030.00517.49
8.1.30.0000.00817.62
8.1.20.0000.00817.49
8.1.10.0000.00717.63
8.1.00.0030.00817.50
8.0.300.0080.00018.84
8.0.290.0040.00416.88
8.0.280.0030.00718.44
8.0.270.0030.00317.13
8.0.260.0030.00616.84
8.0.250.0030.00616.99
8.0.240.0040.00417.00
8.0.230.0030.00317.03
8.0.220.0090.00016.93
8.0.210.0020.00516.83
8.0.200.0030.00317.05
8.0.190.0040.00417.00
8.0.180.0080.00016.98
8.0.170.0030.00516.88
8.0.160.0000.00716.93
8.0.150.0050.00316.79
8.0.140.0110.00016.89
8.0.130.0000.00613.37
8.0.120.0070.00017.00
8.0.110.0000.00816.91
8.0.100.0000.00716.76
8.0.90.0040.00416.84
8.0.80.0090.00916.93
8.0.70.0030.00516.95
8.0.60.0070.00016.90
8.0.50.0040.00416.77
8.0.30.0130.00617.15
8.0.20.0130.00617.01
8.0.10.0040.00416.97
8.0.00.0090.00816.80
7.4.330.0050.00012.98
7.4.320.0030.00316.57
7.4.300.0030.00616.33
7.4.290.0060.00016.50
7.4.280.0050.00316.60
7.4.270.0030.00316.41
7.4.260.0030.00313.32
7.4.250.0030.00616.60
7.4.240.0000.00716.57
7.4.230.0000.00716.41
7.4.220.0070.01016.45
7.4.210.0090.00616.47
7.4.200.0040.00316.61
7.4.190.0030.00316.50
7.4.160.0130.00716.45
7.4.150.0090.00916.55
7.4.140.0080.00816.57
7.4.130.0100.00716.46
7.4.120.0120.00816.67
7.4.110.0100.00616.61
7.4.100.0060.01716.55
7.4.90.0070.01016.42
7.4.80.0070.01019.39
7.4.70.0140.00716.37
7.4.60.0060.00916.41
7.4.50.0080.00316.65
7.4.40.0040.01116.59
7.4.30.0070.00816.59
7.4.00.0080.00515.20
7.3.330.0060.00013.17
7.3.320.0030.00312.94
7.3.310.0050.00216.32
7.3.300.0030.00316.21
7.3.290.0110.00816.26
7.3.280.0070.00916.17
7.3.270.0130.00916.37
7.3.260.0150.00416.25
7.3.250.0150.00716.28
7.3.240.0070.01016.43
7.3.230.0030.01216.38
7.3.210.0050.01116.09
7.3.200.0060.01116.32
7.3.190.0110.01116.36
7.3.180.0070.01016.37
7.3.170.0110.00616.18
7.3.160.0090.00616.31
7.3.120.0070.00714.91
7.2.330.0060.01216.57
7.2.320.0060.01316.22
7.2.310.0000.01816.23
7.2.300.0150.00616.34
7.2.290.0110.00516.51
7.2.80.0070.01016.59
7.2.60.0060.00616.67
7.2.00.0040.00919.50
7.1.200.0050.00515.44
7.1.100.0000.01118.21
7.1.70.0040.00716.90
7.1.60.0120.00919.40
7.1.50.0070.01416.63
7.1.00.0070.03722.36
7.0.200.0000.00816.78
7.0.140.0100.06722.06
7.0.120.0030.06722.15
7.0.60.0130.05719.85
7.0.50.0070.07717.82
7.0.40.0170.05719.96
7.0.30.0400.07320.34
7.0.20.0370.06320.22
7.0.10.0130.07320.09
7.0.00.0070.07720.00
5.6.280.0030.07321.14
5.6.210.0030.06020.75
5.6.200.0030.08318.22
5.6.190.0100.07020.61
5.6.180.0230.04720.77
5.6.170.0230.07320.41
5.6.160.0070.06720.46
5.6.150.0070.08318.21
5.6.140.0130.07318.21
5.6.130.0000.04718.20
5.6.120.0030.04320.98
5.6.110.0030.06021.01
5.6.100.0130.06721.00
5.6.90.0100.08021.07
5.6.80.0130.07320.53
5.5.350.0000.04020.38
5.5.340.0000.08317.93
5.5.330.0030.09020.16
5.5.320.0270.04020.24
5.5.310.0300.07320.30
5.5.300.0030.05017.91
5.5.290.0170.07018.00
5.5.280.0030.04020.76
5.5.270.0030.04020.78
5.5.260.0070.04320.96
5.5.250.0100.04320.54
5.5.240.0300.03720.15
5.4.450.0130.06319.34
5.4.440.0070.06019.11
5.4.430.0100.07719.23
5.4.420.0000.05019.41
5.4.410.0030.07019.38
5.4.400.0100.08019.01
5.4.390.0070.03719.14
5.4.380.0100.03019.18
5.4.370.0030.04018.79
5.4.360.0000.04319.17
5.4.350.0070.04018.79
5.4.340.0000.04319.18
5.4.320.0070.07719.17
5.4.310.0070.04719.16
5.4.300.0100.07319.17
5.4.290.0100.05318.77
5.4.280.0070.06319.18
5.4.270.0000.05018.79
5.4.260.0130.07019.18
5.4.250.0070.08018.80
5.4.240.0100.06019.17
5.4.230.0030.07019.17
5.4.220.0100.06319.15
5.4.210.0070.07319.08
5.4.200.0030.04719.00
5.4.190.0030.07719.14
5.4.180.0070.07719.08
5.4.170.0130.07319.13
5.4.160.0070.08019.06
5.4.150.0030.08019.09
5.4.140.0100.05316.36
5.4.130.0000.05716.28
5.4.120.0170.06316.43
5.4.110.0030.04016.29
5.4.100.0100.05716.24
5.4.90.0070.03316.61
5.4.80.0130.05716.39
5.4.70.0100.05316.31
5.4.60.0100.03016.14
5.4.50.0030.07016.30
5.4.40.0070.07316.27
5.4.30.0170.03716.22
5.4.20.0070.06316.34
5.4.10.0000.05316.29
5.4.00.0000.07715.92
5.3.290.0130.04014.68
5.3.280.0100.07314.39
5.3.270.0030.03714.50
5.3.260.0100.08314.58
5.3.250.0200.02314.53
5.3.240.0030.05014.58
5.3.230.0000.04014.61
5.3.220.0070.05714.50
5.3.210.0070.07714.51
5.3.200.0100.05014.49
5.3.190.0070.07314.49
5.3.180.0070.06014.49
5.3.170.0130.07014.38
5.3.160.0030.04014.38
5.3.150.0130.06714.49
5.3.140.0070.07314.43
5.3.130.0000.06014.43
5.3.120.0070.07714.53
5.3.110.0100.07314.47
5.3.100.0070.05313.98
5.3.90.0100.04714.05
5.3.80.0100.07013.93
5.3.70.0030.07713.98
5.3.60.0200.03014.09
5.3.50.0000.05313.73
5.3.40.0000.05013.92
5.3.30.0030.07313.83
5.3.20.0130.06313.66
5.3.10.0030.04313.59
5.3.00.0070.03313.44
5.2.170.0070.03011.04
5.2.160.0070.04711.12
5.2.150.0070.04711.04
5.2.140.0030.05311.07
5.2.130.0030.06311.11
5.2.120.0070.03711.06
5.2.110.0070.04011.09
5.2.100.0030.05010.93
5.2.90.0030.04011.03
5.2.80.0000.07010.99
5.2.70.0030.06711.06
5.2.60.0030.06011.12
5.2.50.0100.04010.95
5.2.40.0030.03711.00
5.2.30.0070.03710.96
5.2.20.0030.06310.81
5.2.10.0070.04310.81
5.2.00.0000.06310.70
5.1.60.0030.03010.00
5.1.50.0000.0609.98
5.1.40.0030.0479.99
5.1.30.0030.05310.33
5.1.20.0000.06310.36
5.1.10.0000.03310.14
5.1.00.0030.04710.08
5.0.50.0000.0338.38
5.0.40.0000.0408.48
5.0.30.0030.0538.12
5.0.20.0070.0478.18
5.0.10.0100.0378.23
5.0.00.0070.0638.11
4.4.90.0030.0277.54
4.4.80.0030.0337.54
4.4.70.0070.0337.54
4.4.60.0030.0277.54
4.4.50.0000.0377.54
4.4.40.0030.0307.54
4.4.30.0000.0277.54
4.4.20.0000.0207.54
4.4.10.0000.0207.54
4.4.00.0030.0477.54
4.3.110.0070.0337.54
4.3.100.0000.0407.54
4.3.90.0030.0207.54
4.3.80.0030.0537.54
4.3.70.0030.0237.54
4.3.60.0000.0407.54
4.3.50.0100.0277.54
4.3.40.0030.0537.54
4.3.30.0000.0407.54
4.3.20.0030.0377.54
4.3.10.0000.0307.54
4.3.00.0030.0177.54

preferences:
51.25 ms | 401 KiB | 5 Q