3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_old= array(10,13,5); $_new = array(10,5,13,14); $_supp = array_diff($_old, $_new); print_r($_supp);

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.40.0110.00318.47
8.3.30.0070.00720.04
8.3.20.0070.00020.26
8.3.10.0000.00822.09
8.3.00.0040.00422.58
8.2.170.0070.00722.96
8.2.160.0070.00722.26
8.2.150.0080.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00021.02
8.2.110.0030.00622.29
8.2.100.0080.00317.53
8.2.90.0080.00019.23
8.2.80.0060.00317.97
8.2.70.0000.00817.50
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0000.00717.97
8.2.30.0050.00318.02
8.2.20.0000.00717.46
8.2.10.0080.00017.55
8.2.00.0060.00317.54
8.1.270.0070.00024.66
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0040.00420.35
8.1.230.0070.00417.45
8.1.220.0050.00317.76
8.1.210.0030.00518.77
8.1.200.0040.00417.23
8.1.190.0000.00817.30
8.1.180.0000.00819.01
8.1.170.0040.00418.36
8.1.160.0000.00722.22
8.1.150.0070.00018.44
8.1.140.0050.00217.41
8.1.130.0070.00017.77
8.1.120.0000.00717.38
8.1.110.0000.00817.22
8.1.100.0030.00317.40
8.1.90.0030.00417.41
8.1.80.0030.00617.38
8.1.70.0030.00317.31
8.1.60.0090.00017.57
8.1.50.0000.00717.45
8.1.40.0070.00017.51
8.1.30.0030.00617.55
8.1.20.0040.00417.51
8.1.10.0080.00017.40
8.1.00.0100.00017.31
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0070.00018.25
8.0.270.0040.00417.18
8.0.260.0030.00316.73
8.0.250.0000.00716.88
8.0.240.0000.00816.92
8.0.230.0040.00416.77
8.0.220.0030.00316.81
8.0.210.0070.00016.75
8.0.200.0000.00616.89
8.0.190.0080.00016.79
8.0.180.0070.00016.85
8.0.170.0000.00816.84
8.0.160.0040.00416.87
8.0.150.0070.00016.77
8.0.140.0000.00816.75
8.0.130.0030.00313.29
8.0.120.0070.00016.67
8.0.110.0000.00716.78
8.0.100.0000.00816.73
8.0.90.0000.00716.61
8.0.80.0060.00816.86
8.0.70.0070.00016.71
8.0.60.0000.00716.78
8.0.50.0000.00816.93
8.0.30.0140.00616.88
8.0.20.0130.01017.40
8.0.10.0030.00516.98
8.0.00.0100.01016.61
7.4.330.0050.00015.00
7.4.320.0000.00616.51
7.4.300.0060.00016.48
7.4.290.0030.00316.41
7.4.280.0070.00416.48
7.4.270.0070.00016.41
7.4.260.0000.00713.19
7.4.250.0000.00816.41
7.4.240.0040.00316.46
7.4.230.0070.00016.27
7.4.220.0070.01316.55
7.4.210.0040.01016.47
7.4.200.0040.00416.26
7.4.190.0030.00516.49
7.4.160.0070.00716.35
7.4.150.0070.01017.40
7.4.140.0080.01317.86
7.4.130.0070.01016.26
7.4.120.0110.00516.34
7.4.110.0100.00716.41
7.4.100.0130.01016.33
7.4.90.0110.00616.23
7.4.80.0090.00919.39
7.4.70.0100.00716.38
7.4.60.0070.01416.38
7.4.50.0040.00416.36
7.4.40.0070.01122.77
7.4.30.0140.00716.50
7.4.00.0120.00514.77
7.3.330.0030.00312.86
7.3.320.0000.00612.86
7.3.310.0040.00415.97
7.3.300.0000.00616.15
7.3.290.0060.00916.20
7.3.280.0090.00616.11
7.3.270.0140.00317.40
7.3.260.0190.00316.58
7.3.250.0050.01216.13
7.3.240.0090.01016.24
7.3.230.0090.00916.39
7.3.210.0060.01016.44
7.3.200.0030.01319.39
7.3.190.0060.01116.32
7.3.180.0040.01116.22
7.3.170.0030.01316.27
7.3.160.0060.00916.18
7.3.120.0070.01014.62
7.3.110.0100.00714.56
7.3.100.0030.01214.86
7.3.90.0040.01114.58
7.3.80.0060.00914.59
7.3.70.0070.01014.43
7.3.60.0000.00814.52
7.3.50.0000.01414.26
7.3.40.0070.00714.55
7.3.30.0050.00514.72
7.3.20.0030.01216.74
7.3.10.0090.00616.54
7.3.00.0100.00716.50
7.2.330.0120.00616.30
7.2.320.0090.00916.63
7.2.310.0130.00316.24
7.2.300.0060.00916.29
7.2.290.0130.00316.40
7.2.250.0080.01214.95
7.2.240.0000.01414.88
7.2.230.0120.00615.09
7.2.220.0070.01015.05
7.2.210.0060.00614.82
7.2.200.0080.00415.02
7.2.190.0000.00914.85
7.2.180.0000.01314.97
7.2.170.0030.01014.97
7.2.00.0030.01018.75
7.1.330.0030.01015.73
7.1.320.0070.01015.64
7.1.310.0030.01015.76
7.1.300.0120.00615.94
7.1.290.0070.00415.75
7.1.280.0120.00015.72
7.1.270.0070.00715.65
7.1.260.0040.01115.77
7.1.70.0000.00817.09
7.1.60.0060.00616.95
7.1.50.0040.00816.85
7.1.00.0000.03722.40
7.0.200.0070.01016.64
7.0.140.0000.07722.09
7.0.60.0070.06719.93
7.0.50.0030.04317.91
7.0.40.0070.04020.09
7.0.30.0300.05720.16
7.0.20.0330.07720.33
7.0.10.0270.08020.21
7.0.00.0000.09320.17
5.6.280.0000.07721.01
5.6.210.0100.06320.55
5.6.200.0070.07318.13
5.6.190.0030.05320.41
5.6.180.0200.08320.61
5.6.170.0200.06020.46
5.6.160.0030.04320.55
5.6.150.0030.09018.11
5.6.140.0070.05318.16
5.6.130.0030.08718.11
5.6.120.0100.08020.98
5.6.110.0070.05721.11
5.6.100.0000.04721.07
5.6.90.0030.08321.09
5.6.80.0070.07320.51
5.6.70.0170.03320.41
5.5.350.0100.04320.46
5.5.340.0030.03717.98
5.5.330.0070.05720.14
5.5.320.0230.04320.18
5.5.310.0200.08320.33
5.5.300.0100.03317.98
5.5.290.0100.08017.88
5.5.280.0130.03720.79
5.5.270.0100.04320.77
5.5.260.0170.07720.67
5.5.250.0070.08320.60
5.5.240.0030.04320.11
5.4.450.0670.05319.45
5.4.440.1030.05719.12
5.4.430.0400.06719.37
5.4.420.0230.04019.58
5.4.410.0670.05019.14
5.4.400.1370.05318.68
5.4.390.1230.05718.61
5.4.380.0300.04718.59
5.4.370.0030.07718.74
5.4.360.0200.04718.53
5.4.350.0090.04611.97
5.4.340.0120.03811.97
5.4.320.0070.03512.45
5.4.310.0080.03712.45
5.4.300.0090.03312.45
5.4.290.0120.04912.45
5.4.280.0050.04012.34
5.4.270.0080.03412.35
5.4.260.0100.05012.35
5.4.250.0100.04012.34
5.4.240.0030.05318.88
5.4.230.0030.05318.87
5.4.220.0100.05018.64
5.4.210.0030.05318.89
5.4.200.0070.05019.03
5.4.190.0030.05319.01
5.4.180.0000.05718.79
5.4.170.0130.04719.02
5.4.160.0000.05719.02
5.4.150.0070.05319.00
5.4.140.0100.05016.45
5.4.130.0170.04316.29
5.4.120.0100.05716.45
5.4.110.0030.05716.51
5.4.100.0100.05316.52
5.4.90.0170.03716.20
5.4.80.0070.07016.21
5.4.70.0130.04716.51
5.4.60.0100.04716.23
5.4.50.0070.05316.40
5.4.40.0070.04716.27
5.4.30.0100.05016.42
5.4.20.0130.04016.43
5.4.10.0100.04716.39
5.4.00.0070.05015.70
5.3.290.0040.04112.80
5.3.280.0030.05314.60
5.3.270.0070.05014.65
5.3.260.0100.05314.61
5.3.250.0030.05314.52
5.3.240.0070.04714.61
5.3.230.0030.05314.43
5.3.220.0000.05714.40
5.3.210.0070.05714.66
5.3.200.0030.05014.71
5.3.190.0030.05314.59
5.3.180.0100.04714.57
5.3.170.0100.05014.57
5.3.160.0100.04714.48
5.3.150.0100.05714.43
5.3.140.0170.05314.57
5.3.130.0100.05714.56
5.3.120.0070.05314.40
5.3.110.0030.05314.42
5.3.100.0030.05313.95
5.3.90.0130.05313.93
5.3.80.0130.04013.96
5.3.70.0100.04713.90
5.3.60.0000.05313.85
5.3.50.0070.05013.99
5.3.40.0070.04714.11
5.3.30.0030.05013.92
5.3.20.0030.05313.59
5.3.10.0130.04013.52
5.3.00.0070.04713.58
5.2.170.0070.03710.97
5.2.160.0130.04010.90
5.2.150.0030.04311.15
5.2.140.0030.04711.05
5.2.130.0070.03711.11
5.2.120.0170.03011.02
5.2.110.0130.03011.13
5.2.100.0070.03710.86
5.2.90.0100.04011.20
5.2.80.0030.04011.02
5.2.70.0000.05011.11
5.2.60.0100.04310.98
5.2.50.0130.03311.03
5.2.40.0030.04010.93
5.2.30.0030.04311.13
5.2.20.0100.03311.11
5.2.10.0070.03710.80
5.2.00.0100.05310.61
5.1.60.0000.03710.07
5.1.50.0000.04010.14
5.1.40.0100.03010.01
5.1.30.0030.04010.39
5.1.20.0100.03010.42
5.1.10.0130.0279.97
5.1.00.0030.03310.12
5.0.50.0000.0378.71
5.0.40.0030.0278.46
5.0.30.0100.0378.21
5.0.20.0030.0278.33
5.0.10.0070.0238.14
5.0.00.0070.0378.23
4.4.90.0000.0235.97
4.4.80.0070.0176.65
4.4.70.0070.0176.65
4.4.60.0100.0176.65
4.4.50.0030.0206.65
4.4.40.0000.0376.65
4.4.30.0030.0206.65
4.4.20.0070.0176.65
4.4.10.0000.0236.65
4.4.00.0000.0336.65
4.3.110.0000.0236.65
4.3.100.0000.0236.65
4.3.90.0000.0236.65
4.3.80.0030.0406.65
4.3.70.0070.0236.65
4.3.60.0030.0176.65
4.3.50.0000.0236.65
4.3.40.0000.0336.65
4.3.30.0030.0206.65
4.3.20.0030.0206.65
4.3.10.0000.0206.65
4.3.00.0200.0276.81

preferences:
43.67 ms | 400 KiB | 5 Q