3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr_database = array("V1", "V2", "V5", "V6", "V7", "V10"); $arr_custom = array("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10"); $arr_output = array_diff($arr_custom, $arr_database); echo json_encode($arr_output);

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.0070.00718.58
8.3.30.0070.00718.63
8.3.20.0080.00018.66
8.3.10.0060.00318.48
8.3.00.0040.00419.03
8.2.170.0070.00722.96
8.2.160.0050.01021.02
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0020.00526.16
8.2.120.0080.00018.96
8.2.110.0090.00020.95
8.2.100.0040.00817.78
8.2.90.0070.00321.26
8.2.80.0040.00419.24
8.2.70.0000.00817.38
8.2.60.0060.00318.04
8.2.50.0030.00618.07
8.2.40.0040.00418.22
8.2.30.0070.00018.03
8.2.20.0070.00017.65
8.2.10.0040.00417.73
8.2.00.0070.00017.59
8.1.270.0070.00024.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0080.00322.55
8.1.230.0060.00620.76
8.1.220.0040.00417.91
8.1.210.0040.00418.85
8.1.200.0050.00517.23
8.1.190.0020.00517.43
8.1.180.0040.00418.10
8.1.170.0000.00818.78
8.1.160.0000.00718.68
8.1.150.0000.00718.56
8.1.140.0040.00417.34
8.1.130.0000.00717.82
8.1.120.0050.00317.25
8.1.110.0040.00417.36
8.1.100.0000.00717.26
8.1.90.0000.00717.38
8.1.80.0000.00717.38
8.1.70.0000.00717.43
8.1.60.0040.00417.49
8.1.50.0050.00317.35
8.1.40.0040.00417.46
8.1.30.0030.00517.47
8.1.20.0000.00717.58
8.1.10.0040.00417.48
8.1.00.0040.00417.41
8.0.300.0030.00320.03
8.0.290.0040.00416.75
8.0.280.0040.00418.44
8.0.270.0070.00017.18
8.0.260.0030.00316.88
8.0.250.0000.00716.79
8.0.240.0040.00416.88
8.0.230.0030.00316.80
8.0.220.0030.00316.71
8.0.210.0070.00016.75
8.0.200.0000.00616.92
8.0.190.0040.00416.89
8.0.180.0030.00716.86
8.0.170.0000.01016.81
8.0.160.0070.00016.83
8.0.150.0030.00616.64
8.0.140.0030.00516.75
8.0.130.0030.00313.21
8.0.120.0000.00716.75
8.0.110.0040.00416.75
8.0.100.0070.00016.66
8.0.90.0070.00016.70
8.0.80.0060.00916.79
8.0.70.0040.00416.79
8.0.60.0090.00016.65
8.0.50.0040.00416.75
8.0.30.0180.00316.95
8.0.20.0140.00817.09
8.0.10.0040.00416.75
8.0.00.0100.00916.77
7.4.330.0050.00012.97
7.4.320.0000.00916.44
7.4.300.0000.00616.43
7.4.290.0040.00416.57
7.4.280.0040.00416.56
7.4.270.0000.00716.42
7.4.260.0070.00013.14
7.4.250.0090.00016.45
7.4.240.0030.00516.37
7.4.230.0000.00816.27
7.4.220.0140.00616.52
7.4.210.0100.00616.48
7.4.200.0040.00416.31
7.4.190.0000.00716.30
7.4.160.0090.00616.41
7.4.150.0070.01016.42
7.4.140.0090.00816.41
7.4.130.0160.00716.33
7.4.120.0060.01016.39
7.4.110.0030.01416.49
7.4.100.0120.01316.40
7.4.90.0100.00716.33
7.4.80.0090.01219.39
7.4.70.0090.01316.53
7.4.60.0170.00016.41
7.4.50.0080.00416.25
7.4.40.0030.01316.47
7.4.30.0080.01216.57
7.4.00.0070.00715.00
7.3.330.0030.00312.93
7.3.320.0060.00013.00
7.3.310.0070.00016.00
7.3.300.0040.00416.03
7.3.290.0040.01116.18
7.3.280.0120.00516.14
7.3.270.0120.00616.25
7.3.260.0180.00016.24
7.3.250.0100.01116.27
7.3.240.0200.00016.26
7.3.230.0100.00716.16
7.3.210.0090.00816.36
7.3.200.0170.00616.09
7.3.190.0110.00616.31
7.3.180.0090.00916.43
7.3.170.0140.00016.35
7.3.160.0110.01116.25
7.3.120.0050.01014.66
7.3.10.0120.00415.96
7.3.00.0120.00616.14
7.2.330.0170.00316.73
7.2.320.0100.01016.66
7.2.310.0100.00716.67
7.2.300.0090.01216.32
7.2.290.0120.00916.45
7.2.130.0070.01116.61
7.2.120.0110.00316.46
7.2.110.0150.00316.48
7.2.100.0200.00016.36
7.2.90.0160.00416.71
7.2.80.0150.00316.64
7.2.70.0070.01316.46
7.2.60.0110.00516.71
7.2.50.0180.00616.26
7.2.40.0120.00316.70
7.2.30.0130.00616.68
7.2.20.0110.01516.20
7.2.10.0070.01416.58
7.2.00.0040.01317.95
7.1.250.0170.00015.59
7.1.200.0000.00715.71
7.1.100.0290.00317.80
7.1.70.0070.00016.96
7.1.60.0100.01319.40
7.1.50.0070.01716.79
7.1.00.0100.06322.27
7.0.200.0180.00314.72
7.0.140.0030.07321.95
7.0.120.0100.06322.01
7.0.90.0130.08019.88
7.0.80.0100.07719.87
7.0.70.0200.07319.91
7.0.60.0070.08019.90
7.0.50.0100.05720.32
7.0.40.0100.07320.05
7.0.30.0100.07320.17
7.0.20.0130.07720.18
7.0.10.0000.06020.09
7.0.00.0030.09019.98
5.6.240.0070.08320.63
5.6.230.0070.08020.48
5.6.220.0070.08320.57
5.6.210.0100.06720.40
5.6.200.0030.09021.10
5.6.190.0130.06721.10
5.6.180.0070.07021.04
5.6.170.0070.07021.03
5.6.160.0070.07720.96
5.6.150.0230.07321.13
5.6.140.0130.08021.07
5.6.130.0130.08021.04
5.6.120.0100.07721.09
5.6.110.0130.04321.10
5.6.100.0070.04021.06
5.6.90.0200.07720.93
5.6.80.0130.07320.40
5.6.70.0100.03720.39
5.6.60.0070.08020.42
5.6.50.0070.03720.43
5.6.40.0000.05320.44
5.6.30.0070.03720.30
5.6.20.0000.05020.52
5.6.10.0100.06020.30
5.6.00.0070.03320.38
5.5.380.0200.05720.40
5.5.370.0130.05320.30
5.5.360.0170.06320.34
5.5.350.0100.08020.37
5.5.340.0030.08020.88
5.5.330.0070.07720.76
5.5.320.0030.04720.64
5.5.310.0130.07720.92
5.5.300.0070.08720.82
5.5.290.0130.08320.79
5.5.280.0030.09320.89
5.5.270.0070.06020.78
5.5.260.0030.09020.74
5.5.250.0070.08020.72
5.5.240.0100.06020.20
5.5.230.0070.08020.18
5.5.220.0070.04320.16
5.5.210.0070.04020.30
5.5.200.0100.05020.22
5.5.190.0030.04320.27
5.5.180.0000.04319.98
5.5.160.0070.06720.23
5.5.150.0000.03720.18
5.5.140.0070.03020.23
5.5.130.0030.07020.12
5.5.120.0070.03720.23
5.5.110.0000.04320.16
5.5.100.0070.03319.96
5.5.90.0100.03320.04
5.5.80.0030.03320.09
5.5.70.0030.04020.14
5.5.60.0070.03320.00
5.5.50.0030.05320.07
5.5.40.0000.04020.14
5.5.30.0030.04020.04
5.5.20.0000.03719.95
5.5.10.0030.03720.07
5.5.00.0100.03720.04
5.4.450.0100.07719.45
5.4.440.0000.06019.36
5.4.430.0170.03719.42
5.4.420.0200.07019.27
5.4.410.0000.05019.23
5.4.400.0000.08318.79
5.4.390.0130.03319.03
5.4.380.0070.07719.11
5.4.370.0070.05019.14
5.4.360.0070.03718.98
5.4.350.0070.03319.07
5.4.340.0070.04019.02
5.4.320.0070.03319.14
5.4.310.0000.04018.80
5.4.300.0070.03319.02
5.4.290.0000.04318.94
5.4.280.0000.03718.90
5.4.270.0030.03718.81
5.4.260.0070.03319.11
5.4.250.0030.04019.11
5.4.240.0070.03018.89
5.4.230.0030.03318.77
5.4.220.0100.02718.91
5.4.210.0030.03019.11
5.4.200.0000.04018.95
5.4.190.0000.04719.13
5.4.180.0000.04018.97
5.4.170.0000.05318.80
5.4.160.0030.04019.03
5.4.150.0000.04019.14
5.4.140.0070.03316.28
5.4.130.0030.03316.31
5.4.120.0000.04316.27
5.4.110.0070.03316.30
5.4.100.0000.04316.38
5.4.90.0030.04016.44
5.4.80.0070.05016.41
5.4.70.0000.04316.43
5.4.60.0030.04316.33
5.4.50.0070.05016.27
5.4.40.0000.03316.25
5.4.30.0030.06016.37
5.4.20.0000.03716.18
5.4.10.0070.07016.30
5.4.00.0070.06315.46
5.3.290.0030.03714.62
5.3.280.0100.02714.50
5.3.270.0030.03314.46
5.3.260.0100.05714.57
5.3.250.0000.04014.42
5.3.240.0000.04014.59
5.3.230.0030.03714.59
5.3.220.0030.03314.56
5.3.210.0030.03314.43
5.3.200.0070.03014.57
5.3.190.0000.03314.55
5.3.180.0070.03314.41
5.3.170.0030.03714.57
5.3.160.0000.04014.52
5.3.150.0030.03714.52
5.3.140.0070.03014.39
5.3.130.0070.03314.38
5.3.120.0030.03714.51
5.3.110.0070.04314.55
5.3.100.0070.06713.91
5.3.90.0030.07713.87
5.3.80.0100.07313.95
5.3.70.0070.07013.87
5.3.60.0070.04713.96
5.3.50.0130.07013.95
5.3.40.0100.06713.92
5.3.30.0130.06313.90
5.3.20.0070.04313.62
5.3.10.0030.05713.41
5.3.00.0100.05713.59
5.2.170.0030.04711.06
5.2.160.0100.06011.10
5.2.150.0030.05710.95
5.2.140.0130.05011.15
5.2.130.0070.04010.91
5.2.120.0070.05011.15
5.2.110.0070.03011.02
5.2.100.0100.06010.94
5.2.90.0100.05710.96
5.2.80.0030.06711.07
5.2.70.0100.04711.08
5.2.60.0100.03310.97
5.2.50.0030.06010.81
5.2.40.0030.04711.04
5.2.30.0030.03310.89
5.2.20.0170.05011.00
5.2.10.0000.05010.79
5.2.00.0000.04710.64
5.1.60.0030.0479.99
5.1.50.0000.05710.00
5.1.40.0030.05710.00
5.1.30.0070.05310.40
5.1.20.0030.03710.41
5.1.10.0070.04310.14
5.1.00.0030.06010.05
5.0.50.0030.0438.62
5.0.40.0000.0378.45
5.0.30.0000.0708.06
5.0.20.0000.0308.09
5.0.10.0030.0278.26
5.0.00.0100.0638.22
4.4.90.0070.0237.02
4.4.80.0030.0307.02
4.4.70.0000.0177.02
4.4.60.0030.0337.02
4.4.50.0030.0307.02
4.4.40.0100.0437.02
4.4.30.0000.0237.02
4.4.20.0030.0177.02
4.4.10.0000.0407.02
4.4.00.0000.0507.02
4.3.110.0000.0277.02
4.3.100.0000.0337.02
4.3.90.0030.0207.02
4.3.80.0030.0477.02
4.3.70.0000.0207.02
4.3.60.0000.0377.02
4.3.50.0070.0307.02
4.3.40.0000.0437.02
4.3.30.0030.0337.02
4.3.20.0030.0377.02
4.3.10.0030.0307.02
4.3.00.0070.0307.02

preferences:
37.41 ms | 400 KiB | 5 Q