3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numbers = array("1","3","5","6","12","13","15","20","24","28","32","33","34","42","47","49","50","54","59","79"); $intersect = array_intersect_keys(array_fill_keys(array_diff(range(1, 80), $numbers), null), $numbers); ksort($intersect); var_dump($intersect);

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.70.0140.00716.50
8.3.60.0210.00016.88
8.3.50.0190.00221.04
8.3.40.0090.00918.79
8.3.30.0180.00418.70
8.3.20.0000.01320.38
8.3.10.0000.00721.91
8.3.00.0040.00423.66
8.2.190.0090.01216.58
8.2.180.0110.00418.41
8.2.170.0070.00722.96
8.2.160.0130.00720.43
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0080.00019.64
8.2.120.0050.00326.35
8.2.110.0080.00321.03
8.2.100.0040.00817.80
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0060.00317.38
8.2.60.0030.00917.55
8.2.50.0040.00418.07
8.2.40.0050.00520.63
8.2.30.0030.00319.32
8.2.20.0040.00417.67
8.2.10.0000.00717.96
8.2.00.0050.00217.98
8.1.280.0100.00325.92
8.1.270.0070.00722.14
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00323.97
8.1.230.0080.00420.70
8.1.220.0080.00017.80
8.1.210.0050.00318.77
8.1.200.0060.00317.36
8.1.190.0000.00817.25
8.1.180.0090.00018.10
8.1.170.0050.00318.71
8.1.160.0050.00320.70
8.1.150.0060.00318.93
8.1.140.0040.00419.55
8.1.130.0050.00317.55
8.1.120.0030.00317.48
8.1.110.0070.00017.39
8.1.100.0090.00017.39
8.1.90.0050.00217.38
8.1.80.0040.00417.43
8.1.70.0040.00417.38
8.1.60.0040.00417.55
8.1.50.0040.00417.52
8.1.40.0070.00017.53
8.1.30.0000.00817.56
8.1.20.0030.00517.57
8.1.10.0050.00217.60
8.1.00.0030.00517.52
8.0.300.0040.00418.77
8.0.290.0030.00516.75
8.0.280.0020.00518.31
8.0.270.0070.00017.10
8.0.260.0000.00717.14
8.0.250.0030.00316.96
8.0.240.0030.00316.96
8.0.230.0030.00316.94
8.0.220.0030.00316.91
8.0.210.0000.00716.79
8.0.200.0060.00016.94
8.0.190.0040.00416.91
8.0.180.0040.00416.92
8.0.170.0080.00016.79
8.0.160.0000.00716.78
8.0.150.0080.00016.69
8.0.140.0040.00416.86
8.0.130.0000.00513.29
8.0.120.0050.00316.89
8.0.110.0040.00416.85
8.0.100.0040.00416.76
8.0.90.0050.00316.67
8.0.80.0120.00316.89
8.0.70.0000.00816.85
8.0.60.0080.00017.00
8.0.50.0050.00216.90
8.0.30.0080.01016.93
8.0.20.0080.01217.40
8.0.10.0040.00416.91
8.0.00.0110.00816.77
7.4.330.0050.00016.77
7.4.320.0020.00516.45
7.4.300.0000.00816.64
7.4.290.0060.00016.55
7.4.280.0020.00516.48
7.4.270.0030.00316.61
7.4.260.0070.00016.54
7.4.250.0040.00416.47
7.4.240.0050.00216.55
7.4.230.0070.00016.60
7.4.220.0100.00716.54
7.4.210.0090.00616.48
7.4.200.0070.00016.52
7.4.160.0030.01316.55
7.4.150.0090.00917.40
7.4.140.0090.00817.86
7.4.130.0070.01216.62
7.4.120.0050.01116.49
7.4.110.0070.01016.52
7.4.100.0100.00616.49
7.4.90.0070.01016.52
7.4.80.0070.01419.39
7.4.70.0130.01016.60
7.4.60.0100.01016.46
7.4.50.0060.01016.63
7.4.40.0100.00716.43
7.4.30.0030.01416.51
7.4.00.0060.00814.82
7.3.330.0000.00613.18
7.3.320.0000.00613.10
7.3.310.0070.00016.08
7.3.300.0000.00716.30
7.3.290.0030.00316.15
7.3.280.0090.00916.22
7.3.270.0060.01217.40
7.3.260.0090.00916.27
7.3.250.0110.01016.42
7.3.240.0150.00616.57
7.3.230.0060.01016.39
7.3.210.0080.00816.18
7.3.200.0030.01419.39
7.3.190.0100.00716.28
7.3.180.0100.00716.41
7.3.170.0060.01516.29
7.3.160.0130.00316.31
7.3.120.0030.01414.77
7.3.110.0030.01314.55
7.3.100.0060.00614.92
7.3.90.0030.00714.43
7.3.80.0030.00614.98
7.3.70.0060.00914.63
7.3.60.0080.00414.79
7.3.50.0040.01114.60
7.3.40.0070.00714.86
7.3.30.0080.00314.61
7.3.20.0040.01216.67
7.3.10.0060.00916.41
7.3.00.0070.00316.68
7.2.330.0120.00416.59
7.2.320.0070.01016.27
7.2.310.0100.01316.55
7.2.300.0060.01016.55
7.2.290.0110.01116.57
7.2.250.0070.01015.06
7.2.240.0060.01314.82
7.2.230.0030.01014.84
7.2.220.0110.00014.96
7.2.210.0000.01515.16
7.2.200.0060.00614.89
7.2.190.0060.00915.00
7.2.180.0030.00714.93
7.2.170.0090.00615.02
7.2.60.0100.00716.74
7.2.00.0060.00919.41
7.1.330.0060.00615.71
7.1.320.0040.01115.85
7.1.310.0100.00315.74
7.1.300.0000.01315.33
7.1.290.0040.00815.66
7.1.280.0050.00815.65
7.1.270.0060.00615.30
7.1.260.0060.00615.54
7.1.200.0030.00815.54
7.1.100.0070.00717.63
7.1.70.0030.00616.89
7.1.60.0170.00719.28
7.1.50.0000.01116.86
7.1.00.0100.07022.35
7.0.200.0030.00516.31
7.0.60.0130.07321.86
7.0.50.0130.04017.88
7.0.40.0170.07720.00
7.0.30.0370.07020.16
7.0.20.0270.06020.19
7.0.10.0000.04720.16
7.0.00.0070.04020.16
5.6.280.0070.05020.89
5.6.210.0030.04020.64
5.6.200.0030.09018.23
5.6.190.0100.09020.32
5.6.180.0200.04320.41
5.6.170.0330.07020.49
5.6.160.0170.07020.48
5.6.150.0100.06318.22
5.6.140.0100.07718.18
5.6.130.0030.04318.07
5.6.120.0130.04020.99
5.6.110.0070.04021.00
5.6.100.0100.07320.98
5.6.90.0070.05720.97
5.6.80.0030.05020.40
5.5.350.4100.03720.40
5.5.340.0130.06318.02
5.5.330.0070.08720.35
5.5.320.0230.05020.41
5.5.310.0170.05320.30
5.5.300.0000.04017.95
5.5.290.0070.06717.94
5.5.280.0000.07320.66
5.5.270.0130.08020.87
5.5.260.0100.07020.97
5.5.250.0070.08320.69
5.5.240.0070.07320.27

preferences:
58.06 ms | 401 KiB | 5 Q