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_fill_keys(array_diff(range(1, 80), $numbers), null); 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.60.0150.00616.50
8.3.50.0140.00921.04
8.3.40.0070.01418.67
8.3.30.0070.01418.54
8.3.20.0120.00320.04
8.3.10.0000.00821.87
8.3.00.0120.00323.63
8.2.180.0120.00418.42
8.2.170.0090.00622.96
8.2.160.0070.00720.48
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0080.00019.36
8.2.110.0060.00320.89
8.2.100.0110.00017.80
8.2.90.0040.00419.11
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0080.00018.04
8.2.50.0080.00018.07
8.2.40.0000.00821.96
8.2.30.0080.00019.34
8.2.20.0060.00317.49
8.2.10.0070.00017.97
8.2.00.0030.00618.11
8.1.280.0170.00325.92
8.1.270.0130.00722.05
8.1.260.0090.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00323.79
8.1.230.0000.01118.84
8.1.220.0050.00517.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.01117.10
8.1.180.0030.00618.10
8.1.170.0030.00618.69
8.1.160.0000.00720.57
8.1.150.0050.00518.73
8.1.140.0040.00419.51
8.1.130.0000.00717.64
8.1.120.0040.00417.47
8.1.110.0000.00817.45
8.1.100.0040.00417.39
8.1.90.0050.00317.40
8.1.80.0050.00217.43
8.1.70.0070.00017.40
8.1.60.0080.00017.40
8.1.50.0000.00917.50
8.1.40.0000.00817.47
8.1.30.0000.00817.59
8.1.20.0040.00417.49
8.1.10.0000.00817.35
8.1.00.0000.00717.29
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0000.00718.29
8.0.270.0030.00317.20
8.0.260.0070.00017.03
8.0.250.0030.00316.78
8.0.240.0070.00016.80
8.0.230.0020.00516.92
8.0.220.0030.00316.82
8.0.210.0070.00016.79
8.0.200.0080.00016.75
8.0.190.0000.00916.68
8.0.180.0040.00416.92
8.0.170.0030.00616.90
8.0.160.0040.00416.91
8.0.150.0000.00816.85
8.0.140.0000.00716.71
8.0.130.0030.00313.26
8.0.120.0050.00316.70
8.0.110.0050.00316.66
8.0.100.0000.00716.86
8.0.90.0000.00716.63
8.0.80.0030.01216.73
8.0.70.0050.00316.71
8.0.60.0000.00716.65
8.0.50.0070.00016.70
8.0.30.0050.01216.89
8.0.20.0140.00817.40
8.0.10.0070.00016.93
8.0.00.0150.00716.70
7.4.330.0000.00516.67
7.4.320.0030.00316.36
7.4.300.0070.00016.54
7.4.290.0030.00316.51
7.4.280.0030.00316.44
7.4.270.0000.00716.43
7.4.260.0000.00716.60
7.4.250.0050.00316.29
7.4.240.0020.00516.53
7.4.230.0030.00316.64
7.4.220.0070.01116.40
7.4.210.0060.01016.57
7.4.200.0030.00316.57
7.4.160.0060.01216.41
7.4.150.0080.01117.40
7.4.140.0120.00817.86
7.4.130.0120.00616.47
7.4.120.0080.01416.48
7.4.110.0110.00716.59
7.4.100.0070.01116.50
7.4.90.0130.00716.20
7.4.80.0170.00619.39
7.4.70.0110.01416.37
7.4.60.0110.00916.43
7.4.50.0070.01116.20
7.4.40.0100.00616.49
7.4.30.0030.01416.25
7.4.00.0060.00614.95
7.3.330.0030.00313.07
7.3.320.0030.00313.01
7.3.310.0030.00416.13
7.3.300.0070.00016.19
7.3.290.0000.00716.18
7.3.280.0060.01416.09
7.3.270.0110.00817.40
7.3.260.0080.01616.15
7.3.250.0120.00616.18
7.3.240.0120.00816.34
7.3.230.0110.00716.45
7.3.210.0060.01216.32
7.3.200.0060.01619.39
7.3.190.0080.00816.07
7.3.180.0030.01416.15
7.3.170.0130.00916.27
7.3.160.0090.01216.23
7.3.10.0120.00016.49
7.3.00.0030.00616.44
7.2.330.0070.01116.30
7.2.320.0040.01416.52
7.2.310.0070.01116.31
7.2.300.0070.01116.14
7.2.290.0070.01716.25
7.2.130.0000.01616.50
7.2.120.0060.00616.81
7.2.110.0040.00716.58
7.2.100.0000.01416.72
7.2.90.0000.01117.05
7.2.80.0030.01117.02
7.2.70.0060.00616.43
7.2.60.0030.00816.81
7.2.50.0040.00816.92
7.2.40.0060.00616.87
7.2.30.0000.01016.95
7.2.20.0070.00716.86
7.2.10.0030.01016.82
7.2.00.0050.00717.86
7.1.250.0070.00715.91
7.1.100.0040.00418.01
7.1.70.0000.00817.18
7.1.60.0070.01819.28
7.1.50.0140.01716.86
7.1.00.0000.08022.30
7.0.200.0050.00516.59
7.0.60.0100.08021.75
7.0.50.0000.05717.88
7.0.40.0070.05020.23
7.0.30.0230.09020.34
7.0.20.0330.07320.29
7.0.10.0030.05020.30
7.0.00.0000.05020.16
5.6.210.0100.04020.56
5.6.200.0200.07318.15
5.6.190.0300.06720.41
5.6.180.0170.04320.56
5.6.170.0270.06720.50
5.6.160.0100.08020.48
5.6.150.0030.04018.09
5.6.140.0070.03718.17
5.6.130.0030.06718.16
5.6.120.0000.04720.96
5.6.110.0070.03721.02
5.6.100.0170.06021.14
5.6.90.0100.09021.10
5.6.80.0070.04720.54
5.5.350.4270.05020.30
5.5.340.0100.08017.91
5.5.330.0070.05320.56
5.5.320.0330.04320.30
5.5.310.0300.07020.50
5.5.300.0070.03717.98
5.5.290.0100.07718.01
5.5.280.0030.04320.73
5.5.270.0070.06020.87
5.5.260.0100.05320.76
5.5.250.0130.07020.55
5.5.240.0130.07020.11

preferences:
29.74 ms | 401 KiB | 5 Q