3v4l.org

run code in 300+ PHP versions simultaneously
<?php array_diff_assoc(array('a' => array('b' => 'c')), array('a' => array('b' => 'c')));

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.0090.00616.63
8.3.50.0120.00717.13
8.3.40.0110.00418.68
8.3.30.0080.00618.52
8.3.20.0040.00418.59
8.3.10.0080.00020.53
8.3.00.0030.00617.38
8.2.180.0100.01018.41
8.2.170.0070.00722.96
8.2.160.0100.00722.25
8.2.150.0000.00724.18
8.2.140.0000.00724.66
8.2.130.0030.00526.16
8.2.120.0060.00319.70
8.2.110.0100.00020.52
8.2.100.0040.00817.66
8.2.90.0040.00418.92
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0030.00517.93
8.2.50.0000.00818.07
8.2.40.0020.00517.97
8.2.30.0050.00217.98
8.2.20.0040.00417.39
8.2.10.0040.00417.59
8.2.00.0070.00317.53
8.1.280.0090.00625.92
8.1.270.0000.00824.66
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0040.00422.20
8.1.230.0090.00317.42
8.1.220.0060.00317.74
8.1.210.0000.00918.77
8.1.200.0000.00917.10
8.1.190.0040.00417.38
8.1.180.0040.00418.10
8.1.170.0040.00418.71
8.1.160.0000.00718.76
8.1.150.0000.00718.50
8.1.140.0070.00017.34
8.1.130.0040.00417.75
8.1.120.0000.00817.24
8.1.110.0040.00417.22
8.1.100.0080.00017.26
8.1.90.0030.00317.17
8.1.80.0020.00517.20
8.1.70.0000.00717.25
8.1.60.0070.00017.34
8.1.50.0040.00417.34
8.1.40.0050.00217.38
8.1.30.0040.00417.46
8.1.20.0080.00017.49
8.1.10.0060.00317.36
8.1.00.0070.00017.16
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0050.00318.31
8.0.270.0030.00317.03
8.0.260.0000.00616.61
8.0.250.0000.00816.84
8.0.240.0050.00316.86
8.0.230.0000.00716.73
8.0.220.0070.00016.77
8.0.210.0070.00016.72
8.0.200.0000.00616.86
8.0.190.0050.00316.76
8.0.180.0020.00516.77
8.0.170.0030.00616.79
8.0.160.0050.00216.73
8.0.150.0070.00016.75
8.0.140.0030.00516.68
8.0.130.0000.00613.19
8.0.120.0040.00416.68
8.0.110.0040.00416.71
8.0.100.0040.00416.88
8.0.90.0070.00016.64
8.0.80.0100.01016.85
8.0.70.0000.00716.85
8.0.60.0070.00016.85
8.0.50.0070.00016.75
8.0.30.0150.00816.97
8.0.20.0100.01017.05
8.0.10.0040.00416.91
8.0.00.0120.01316.67
7.4.330.0000.00512.84
7.4.320.0040.00416.29
7.4.300.0030.00316.41
7.4.290.0020.00516.46
7.4.280.0090.00016.35
7.4.270.0070.00316.35
7.4.260.0000.00513.09
7.4.250.0030.00616.48
7.4.240.0000.00716.46
7.4.230.0000.00716.20
7.4.220.0110.00716.38
7.4.210.0040.01116.39
7.4.200.0000.00716.57
7.4.190.0030.00316.47
7.4.160.0140.00316.27
7.4.150.0100.01316.23
7.4.140.0050.01216.37
7.4.130.0160.00216.42
7.4.120.0080.00916.51
7.4.110.0050.01116.30
7.4.100.0110.00716.45
7.4.90.0100.00916.45
7.4.80.0150.00416.49
7.4.70.0100.00716.39
7.4.60.0140.00616.36
7.4.50.0030.00616.29
7.4.40.0000.01516.53
7.4.30.0060.00916.56
7.4.00.0080.00814.91
7.3.330.0000.00713.03
7.3.320.0050.00012.88
7.3.310.0000.00716.11
7.3.300.0030.00316.09
7.3.290.0140.00716.11
7.3.280.0060.00916.17
7.3.270.0070.01016.38
7.3.260.0060.01016.29
7.3.250.0130.00816.22
7.3.240.0070.01016.31
7.3.230.0140.00316.33
7.3.210.0070.01316.27
7.3.200.0100.00719.39
7.3.190.0090.01016.11
7.3.180.0030.01216.32
7.3.170.0130.00316.14
7.3.160.0130.00316.25
7.3.120.0080.00714.75
7.2.330.0100.01316.29
7.2.320.0120.00916.43
7.2.310.0120.01216.42
7.2.300.0040.01016.46
7.2.290.0080.00916.57
7.2.00.0030.01019.17
7.1.100.0040.00818.04
7.1.70.0040.00417.00
7.1.60.0130.01019.40
7.1.50.0080.01116.55
7.1.00.0000.04722.36
7.0.200.0030.00714.77
7.0.140.0030.07321.96
7.0.120.0030.06022.01
7.0.60.0170.05720.05
7.0.50.0070.04717.66
7.0.40.0070.04320.07
7.0.30.0270.07720.21
7.0.20.0200.04720.16
7.0.10.0230.06720.33
7.0.00.0030.07720.17
5.6.280.0030.07321.14
5.6.210.0070.03720.50
5.6.200.0030.04718.08
5.6.190.0070.08720.57
5.6.180.0170.04720.44
5.6.170.0200.08720.43
5.6.160.0100.04320.40
5.6.150.0000.04318.13
5.6.140.0000.05018.22
5.6.130.0100.06318.11
5.6.120.0030.06321.05
5.6.110.0130.08021.00
5.6.100.0300.06321.00
5.6.90.0100.08320.99
5.6.80.0070.03720.28
5.6.70.4430.04020.51
5.5.350.0300.02320.41
5.5.340.0030.05317.96
5.5.330.0100.05320.43
5.5.320.0200.05320.21
5.5.310.0130.04720.20
5.5.300.0130.07317.96
5.5.290.0200.05718.01
5.5.280.0070.08720.64
5.5.270.0130.07720.96
5.5.260.0200.06020.88
5.5.250.0000.04320.66
5.5.240.0130.04020.25
5.4.450.0000.04019.41
5.4.440.0000.04319.11
5.4.430.0000.04019.11
5.4.420.0000.04019.40
5.4.410.0000.04019.32
5.4.400.0000.04019.18
5.4.390.0100.07319.14
5.4.380.0030.04019.00
5.4.370.0070.08019.14
5.4.360.0030.07719.18
5.4.350.0130.07319.18
5.4.340.0070.05019.09
5.4.320.0030.06019.09
5.4.310.0070.04719.14
5.4.300.0030.04319.18
5.4.290.0100.07319.11
5.4.280.0170.06719.11
5.4.270.0070.07319.08
5.4.260.0030.04019.15
5.4.250.0030.06018.91
5.4.240.0200.06019.13
5.4.230.0000.07719.14
5.4.220.0030.04019.15
5.4.210.0070.03318.99
5.4.200.0100.03719.17
5.4.190.0070.08019.17
5.4.180.0100.04019.07
5.4.170.0070.05018.80
5.4.160.0030.07719.16
5.4.150.0070.07719.13
5.4.140.0070.04316.20
5.4.130.0070.04716.26
5.4.120.0070.07016.38
5.4.110.0030.05716.27
5.4.100.0070.04316.41
5.4.90.0070.07016.60
5.4.80.0070.05016.27
5.4.70.0030.05716.39
5.4.60.0000.08016.12
5.4.50.0030.07016.36
5.4.40.0070.04016.38
5.4.30.0100.07016.21
5.4.20.0070.04316.14
5.4.10.0070.04016.38
5.4.00.0130.03315.73
5.3.290.0070.07714.75
5.3.280.0070.07714.53
5.3.270.0130.06014.62
5.3.260.0100.07014.53
5.3.250.0070.06314.54
5.3.240.0070.07314.57
5.3.230.0070.07314.47
5.3.220.0130.06714.46
5.3.210.0130.07014.51
5.3.200.0030.08014.51
5.3.190.0100.07014.44
5.3.180.0000.04714.48
5.3.170.0030.04714.48
5.3.160.0130.06314.50
5.3.150.0030.08314.35
5.3.140.0030.04714.34
5.3.130.0100.06014.48
5.3.120.0070.07314.48
5.3.110.0100.07314.47
5.3.100.0170.06314.04
5.3.90.0030.08013.99
5.3.80.0030.06013.84
5.3.70.0070.04013.93
5.3.60.0000.07713.93
5.3.50.0000.08013.88
5.3.40.0070.04313.92
5.3.30.0000.04313.87
5.3.20.0030.07713.66
5.3.10.0030.03713.48
5.3.00.0000.07713.43
5.2.170.0030.06311.08
5.2.160.0030.06011.09
5.2.150.0030.06711.03
5.2.140.0030.06011.13
5.2.130.0100.05710.98
5.2.120.0070.02710.92
5.2.110.0070.05310.98
5.2.100.0000.06010.93
5.2.90.0030.04711.18
5.2.80.0000.03311.17
5.2.70.0030.06310.99
5.2.60.0030.06311.03
5.2.50.0000.06710.90
5.2.40.0000.04710.97
5.2.30.0000.03010.97
5.2.20.0000.04010.92
5.2.10.0100.04010.73
5.2.00.0000.05010.60
5.1.60.0070.0279.98
5.1.50.0030.04310.00
5.1.40.0000.04310.14
5.1.30.0030.03710.33
5.1.20.0030.05310.35
5.1.10.0030.04010.14
5.1.00.0000.03710.13
5.0.50.0030.0339.85
5.0.40.0000.0439.85
5.0.30.0000.0579.85
5.0.20.0070.0409.85
5.0.10.0070.0409.85
5.0.00.0070.0609.85
4.4.90.0000.0379.85
4.4.80.0000.0279.85
4.4.70.0000.0209.85
4.4.60.0130.0209.85
4.4.50.0030.0339.85
4.4.40.0030.0509.85
4.4.30.0000.0339.85
4.4.20.0030.0309.85
4.4.10.0030.0279.85
4.4.00.0000.0479.85
4.3.110.0000.0409.85
4.3.100.0030.0339.85
4.3.90.0000.0379.85
4.3.80.0030.0509.85
4.3.70.0070.0179.85
4.3.60.0000.0379.85
4.3.50.0030.0339.85
4.3.40.0030.0509.85
4.3.30.0000.0309.85
4.3.20.0030.0239.85
4.3.10.0000.0309.85
4.3.00.0030.0209.85

preferences:
43.18 ms | 401 KiB | 5 Q