3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = Array(607,608,609,610); $second = Array(607,608,609,800); $Fcount = count($first); $arr = array_merge($first, $second); $arrc= key(array_diff($arr, array_diff_assoc($arr, array_unique($arr)))); echo $arrc;

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.0040.01116.49
8.3.50.0110.00416.36
8.3.40.0090.00618.71
8.3.30.0040.01118.71
8.3.20.0040.00421.74
8.3.10.0070.00323.66
8.3.00.0040.00419.56
8.2.180.0060.00918.54
8.2.170.0070.00722.96
8.2.160.0150.00620.38
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0070.00020.47
8.2.120.0080.00026.35
8.2.110.0000.00920.38
8.2.100.0060.00617.91
8.2.90.0080.00019.21
8.2.80.0000.00918.03
8.2.70.0050.00317.50
8.2.60.0040.00418.05
8.2.50.0040.00418.10
8.2.40.0070.00320.45
8.2.30.0000.00721.05
8.2.20.0040.00417.92
8.2.10.0000.00718.11
8.2.00.0000.00718.18
8.1.280.0110.00425.92
8.1.270.0040.00420.67
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00922.19
8.1.230.0070.00422.20
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0050.00317.23
8.1.180.0000.00718.10
8.1.170.0050.00518.61
8.1.160.0040.00418.98
8.1.150.0050.00218.97
8.1.140.0000.00819.56
8.1.130.0030.00318.84
8.1.120.0040.00417.42
8.1.110.0060.00317.49
8.1.100.0080.00017.44
8.1.90.0050.00317.39
8.1.80.0040.00417.42
8.1.70.0000.00717.45
8.1.60.0040.00417.59
8.1.50.0040.00417.40
8.1.40.0080.00017.56
8.1.30.0040.00417.62
8.1.20.0040.00417.54
8.1.10.0050.00217.49
8.1.00.0000.00717.43
8.0.300.0040.00418.77
8.0.290.0030.00516.63
8.0.280.0000.00718.29
8.0.270.0040.00417.25
8.0.260.0030.00318.91
8.0.250.0070.00017.00
8.0.240.0000.00716.97
8.0.230.0030.00316.79
8.0.220.0040.00416.79
8.0.210.0000.00716.72
8.0.200.0030.00616.90
8.0.190.0090.00016.83
8.0.180.0030.00516.86
8.0.170.0040.00416.83
8.0.160.0070.00016.96
8.0.150.0000.00816.81
8.0.140.0070.00016.83
8.0.130.0030.00313.29
8.0.120.0040.00416.80
8.0.110.0000.00716.91
8.0.100.0050.00316.95
8.0.90.0000.00716.78
8.0.80.0090.01316.80
8.0.70.0040.00416.90
8.0.60.0000.00716.91
8.0.50.0000.00716.72
8.0.30.0120.00716.99
8.0.20.0100.00917.40
8.0.10.0040.00417.00
8.0.00.0110.01516.66
7.4.330.0050.00015.55
7.4.320.0030.00316.50
7.4.300.0070.00016.44
7.4.290.0000.00616.43
7.4.280.0000.00716.62
7.4.270.0030.00316.60
7.4.260.0000.00916.50
7.4.250.0070.00016.43
7.4.240.0080.00016.57
7.4.230.0030.00316.49
7.4.220.0030.01416.45
7.4.210.0090.00416.59
7.4.200.0000.00716.59
7.4.160.0150.00516.48
7.4.150.0090.00917.40
7.4.140.0130.00917.86
7.4.130.0060.01316.52
7.4.120.0100.01016.46
7.4.110.0130.00316.31
7.4.100.0030.01516.55
7.4.90.0170.00016.43
7.4.80.0090.01419.39
7.4.70.0100.00716.39
7.4.60.0060.01016.47
7.4.50.0100.00716.26
7.4.40.0120.00616.61
7.4.30.0140.00316.39
7.4.00.0140.00014.90
7.3.330.0000.00612.95
7.3.320.0000.00513.11
7.3.310.0040.00216.15
7.3.300.0000.00616.03
7.3.290.0060.00816.20
7.3.280.0090.00716.19
7.3.270.0130.00317.40
7.3.260.0080.01216.35
7.3.250.0110.00816.34
7.3.240.0090.00716.26
7.3.230.0060.01016.52
7.3.210.0030.01316.39
7.3.200.0030.01316.58
7.3.190.0100.00716.58
7.3.180.0120.00316.13
7.3.170.0060.01116.59
7.3.160.0160.00716.58
7.2.330.0030.01516.77
7.2.320.0110.00716.59
7.2.310.0060.01116.64
7.2.300.0150.00616.67
7.2.290.0090.00916.66
7.2.60.0090.00316.69
7.2.50.0030.01016.93
7.1.200.0080.00615.68
7.1.70.0060.00617.05
7.1.60.0370.01032.93
7.1.50.0430.01333.02
7.1.40.0430.00732.51
7.1.30.0400.01332.66
7.1.20.0330.01332.66
7.1.10.0330.01014.82
7.1.00.0370.01014.90
7.0.200.0270.00714.96
7.0.190.0330.01014.89
7.0.180.0300.00014.37
7.0.170.0170.01314.19
7.0.160.0200.01314.32
7.0.150.0230.01314.38
7.0.140.0270.00314.44
7.0.130.0300.01314.58
7.0.120.0270.02014.79
7.0.110.0370.01014.42
7.0.100.0230.01014.63
7.0.90.0330.01314.51
7.0.80.0430.01014.53
7.0.70.0370.01314.50
7.0.60.0300.00314.18
7.0.50.0270.00714.43
7.0.40.0200.01014.54
7.0.30.0230.00714.44
7.0.20.1330.00714.54
7.0.10.0200.01714.57
7.0.00.0330.00714.52

preferences:
49.79 ms | 400 KiB | 5 Q