3v4l.org

run code in 300+ PHP versions simultaneously
<?php $items = array(new \stdClass(), new \stdClass()); $compare = function ($a, $b) { return $a === $b; }; $udiff = array_udiff($items, $items, $compare); var_dump($udiff); //array_unshift($items, new stdClass()); $udiff = array_udiff($items, $items, $compare); var_dump($items, $udiff);

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.0120.00318.65
8.3.30.0100.00619.08
8.3.20.0050.00220.34
8.3.10.0040.00423.66
8.3.00.0050.00317.49
8.2.170.0130.00322.96
8.2.160.0100.00320.38
8.2.150.0040.00424.18
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0050.00320.95
8.2.110.0090.00622.20
8.2.100.0040.00818.09
8.2.90.0080.00418.97
8.2.80.0030.00617.97
8.2.70.0000.00817.38
8.2.60.0040.00417.68
8.2.50.0090.00018.07
8.2.40.0090.00020.01
8.2.30.0000.00918.07
8.2.20.0040.00417.66
8.2.10.0070.00018.01
8.2.00.0020.00517.55
8.1.270.0090.00623.82
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.95
8.1.230.0040.00719.17
8.1.220.0030.00517.75
8.1.210.0000.00818.77
8.1.200.0080.00317.34
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0090.00318.59
8.1.160.0040.00422.02
8.1.150.0040.00418.94
8.1.140.0040.00417.45
8.1.130.0000.00717.70
8.1.120.0050.00317.54
8.1.110.0050.00217.42
8.1.100.0000.00717.48
8.1.90.0000.00717.44
8.1.80.0040.00317.41
8.1.70.0070.00017.27
8.1.60.0000.00717.58
8.1.50.0040.00417.38
8.1.40.0040.00417.39
8.1.30.0030.00617.59
8.1.20.0000.00717.61
8.1.10.0070.00017.61
8.1.00.0000.00717.43
8.0.300.0080.00018.77
8.0.290.0040.00416.88
8.0.280.0030.00318.48
8.0.270.0000.00717.30
8.0.260.0030.00317.30
8.0.250.0000.00616.90
8.0.240.0040.00417.04
8.0.230.0040.00416.95
8.0.220.0000.00716.92
8.0.210.0030.00616.96
8.0.200.0000.00616.98
8.0.190.0080.00016.90
8.0.180.0000.00816.89
8.0.170.0050.00317.04
8.0.160.0030.00516.98
8.0.150.0000.00716.89
8.0.140.0070.00016.93
8.0.130.0000.00613.34
8.0.120.0000.00716.96
8.0.110.0040.00416.92
8.0.100.0000.00716.98
8.0.90.0050.00317.02
8.0.80.0100.01017.01
8.0.70.0040.00316.82
8.0.60.0040.00416.77
8.0.50.0040.00416.82
8.0.30.0070.01217.20
8.0.20.0160.00717.40
8.0.10.0000.00716.96
8.0.00.0170.00716.99
7.4.330.0000.00515.09
7.4.320.0060.00016.50
7.4.300.0060.00016.64
7.4.290.0000.00716.63
7.4.280.0040.00416.49
7.4.270.0030.00316.61
7.4.260.0050.00216.58
7.4.250.0030.00616.49
7.4.240.0020.00516.56
7.4.230.0070.00016.62
7.4.220.0120.00616.39
7.4.210.0070.01016.52
7.4.200.0030.00316.30
7.4.160.0000.01516.55
7.4.150.0170.00717.40
7.4.140.0170.00517.86
7.4.130.0130.00516.38
7.4.120.0160.00416.47
7.4.110.0110.00616.59
7.4.100.0100.00716.48
7.4.90.0140.00716.39
7.4.80.0030.01319.39
7.4.70.0100.01016.50
7.4.60.0120.00616.36
7.4.50.0000.00416.57
7.4.40.0030.01216.46
7.4.30.0000.01716.70
7.4.10.0070.01014.80
7.4.00.0110.00514.99
7.3.330.0070.00013.14
7.3.320.0000.00613.23
7.3.310.0030.00316.28
7.3.300.0030.00316.10
7.3.290.0070.00716.34
7.3.280.0090.00816.27
7.3.270.0090.01517.40
7.3.260.0060.01116.21
7.3.250.0090.00816.38
7.3.240.0090.00916.55
7.3.230.0080.00816.54
7.3.210.0170.00016.38
7.3.200.0170.00619.39
7.3.190.0080.00816.27
7.3.180.0120.00316.26
7.3.170.0070.01016.27
7.3.160.0120.00416.70
7.3.130.0060.00914.57
7.3.120.0090.00914.61
7.3.110.0060.01215.07
7.3.100.0060.00614.66
7.3.90.0040.01215.05
7.3.80.0060.00614.79
7.3.70.0000.01414.83
7.3.60.0040.01114.64
7.3.50.0060.01214.86
7.3.40.0100.00714.95
7.3.30.0080.00414.71
7.3.20.0060.00616.65
7.3.10.0070.00716.39
7.3.00.0090.00716.49
7.2.330.0070.01116.44
7.2.320.0060.01516.50
7.2.310.0100.00716.64
7.2.300.0120.00916.41
7.2.290.0050.01116.79
7.2.260.0090.00914.75
7.2.250.0040.01414.93
7.2.240.0030.00915.15
7.2.230.0070.00715.10
7.2.220.0030.01014.97
7.2.210.0030.01015.08
7.2.200.0070.00714.99
7.2.190.0070.00415.10
7.2.180.0000.00915.09
7.2.170.0080.00815.06
7.2.160.0030.01314.59
7.2.150.0040.01216.98
7.2.140.0110.00416.95
7.2.130.0090.00316.71
7.2.120.0130.00016.65
7.2.110.0050.00916.71
7.2.100.0090.00616.62
7.2.90.0070.00716.56
7.2.80.0080.00916.82
7.2.70.0030.01216.64
7.2.60.0090.00516.58
7.2.50.0070.00916.64
7.2.40.0040.00716.90
7.2.30.0080.00716.79
7.2.20.0080.00516.79
7.2.10.0090.00216.68
7.2.00.0060.00617.75
7.1.330.0000.01315.59
7.1.320.0000.01515.75
7.1.310.0030.01015.81
7.1.300.0000.01215.71
7.1.290.0040.00415.74
7.1.280.0070.00715.92
7.1.270.0000.00815.46
7.1.260.0070.00715.91
7.1.250.0100.00715.83
7.1.240.0050.00815.75
7.1.230.0090.00315.62
7.1.220.0090.00615.71
7.1.210.0100.00615.69
7.1.200.0080.00615.49
7.1.190.0080.00815.74
7.1.180.0060.00615.44
7.1.170.0070.00915.53
7.1.160.0100.00415.66
7.1.150.0090.00615.86
7.1.140.0090.00615.56
7.1.130.0050.00715.48
7.1.120.0070.00715.65
7.1.110.0060.00715.45
7.1.100.0040.00816.58
7.1.90.0110.00515.54
7.1.80.0050.01015.64
7.1.70.0050.00616.14
7.1.60.0040.00916.08
7.1.50.0110.00616.17
7.1.40.0020.01315.71
7.1.30.0060.00415.70
7.1.20.0080.00615.63
7.1.10.0050.01215.64
7.1.00.0100.02617.83
7.0.330.0040.00815.31
7.0.320.0040.01215.23
7.0.310.0050.00915.28
7.0.300.0080.00615.22
7.0.290.0100.00315.24
7.0.280.0040.00815.10
7.0.270.0030.01115.32
7.0.260.0050.00815.03
7.0.250.0060.00715.13
7.0.240.0070.00715.19
7.0.230.0050.00715.32
7.0.220.0090.00415.19
7.0.210.0020.01415.26
7.0.200.0080.00515.75
7.0.190.0010.01115.40
7.0.180.0070.00615.33
7.0.170.0100.00515.21
7.0.160.0060.00515.22
7.0.150.0050.00615.32
7.0.140.0050.02717.64
7.0.130.0020.01415.35
7.0.120.0080.00414.97
7.0.110.0030.01015.12
7.0.100.0070.00715.19
7.0.90.0050.00515.17
7.0.80.0050.00815.09
7.0.70.0050.00715.11
7.0.60.0050.02716.75
7.0.50.0050.03116.15
7.0.40.0080.01715.55
7.0.30.0240.02915.58
7.0.20.0100.01815.62
7.0.10.0050.02615.66
7.0.00.0040.03415.56
5.6.400.0030.01014.62
5.6.390.0070.00714.41
5.6.380.0050.00714.06
5.6.370.0020.01014.27
5.6.360.0030.00914.37
5.6.350.0040.01114.58
5.6.340.0050.00714.29
5.6.330.0030.00714.55
5.6.320.0020.01114.47
5.6.310.0030.01114.09
5.6.300.0030.01414.46
5.6.290.0060.00914.38
5.6.280.0060.02816.58
5.6.270.0050.01014.28
5.6.260.0030.01114.32
5.6.250.0120.00514.16
5.6.240.0020.01214.19
5.6.230.0040.00714.34
5.6.220.0050.00514.36
5.6.210.0080.02816.36
5.6.200.0080.03015.66
5.6.190.0060.01816.38
5.6.180.0140.01916.24
5.6.170.0100.02616.24
5.6.160.0070.03216.31
5.6.150.0040.02715.55
5.6.140.0050.03115.59
5.6.130.0080.02815.58
5.6.120.0060.03016.40
5.6.110.0030.03716.52
5.6.100.0090.02816.51
5.6.90.0050.02516.45
5.6.80.0070.02416.13
5.6.70.0020.01114.04
5.6.60.0090.00513.99
5.6.50.0090.00814.22
5.6.40.0110.00214.10
5.6.30.0050.01114.38
5.6.20.0070.00814.00
5.6.10.0060.00614.11
5.6.00.0050.00814.36
5.5.380.0030.00912.54
5.5.370.0040.00812.80
5.5.360.0070.00512.62
5.5.350.0040.03015.33
5.5.340.0080.01714.44
5.5.330.0090.02915.28
5.5.320.0050.02215.29
5.5.310.0160.02715.24
5.5.300.0020.02514.42
5.5.290.0030.01914.54
5.5.280.0100.02815.51
5.5.270.0060.01515.28
5.5.260.0080.02715.43
5.5.250.0090.02715.25
5.5.240.0100.02315.13
5.5.230.0090.00512.77
5.5.220.0090.00612.74
5.5.210.0040.00712.58
5.5.200.0020.00912.69
5.5.190.0030.01112.63
5.5.180.0060.00612.62
5.5.170.0050.00812.65
5.5.160.0060.00512.54
5.5.150.0020.01012.75
5.5.140.0030.00912.73
5.5.130.0050.00312.61
5.5.120.0050.00712.72
5.5.110.0030.00812.79
5.5.100.0010.00812.57
5.5.90.0070.00612.78
5.5.80.0100.00212.70
5.5.70.0060.00612.75
5.5.60.0090.00312.73
5.5.50.0040.00812.70
5.5.40.0040.00512.59
5.5.30.0080.00312.53
5.5.20.0010.01212.71
5.5.10.0060.00312.49
5.5.00.0050.00612.62
5.4.450.0110.02313.98
5.4.440.0160.01813.90
5.4.430.0080.01713.78
5.4.420.0200.01213.84
5.4.410.0350.01713.89
5.4.400.0150.01813.71
5.4.390.0290.01813.87
5.4.380.0330.01913.52
5.4.370.0320.02613.61
5.4.360.0330.02613.54
5.4.350.0300.02213.72
5.4.340.0290.02213.64
5.4.330.0060.00510.95
5.4.320.0060.01611.53
5.4.310.0050.01911.63
5.4.300.0040.02011.50
5.4.290.0070.01611.53
5.4.280.0080.01311.46
5.4.270.0040.01611.51
5.4.260.0030.01611.50
5.4.250.0020.02611.48
5.4.240.0050.01811.48
5.4.230.0050.01511.57
5.4.220.0040.02011.54
5.4.210.0040.01511.54
5.4.200.0060.02011.51
5.4.190.0060.01711.58
5.4.180.0020.01711.47
5.4.170.0080.01311.42
5.4.160.0040.01711.49
5.4.150.0070.01411.52
5.4.140.0040.01511.53
5.4.130.0040.01511.29
5.4.120.0060.01511.41
5.4.110.0050.02011.39
5.4.100.0030.01811.38
5.4.90.0070.01711.40
5.4.80.0050.01811.46
5.4.70.0030.01611.42
5.4.60.0050.01711.46
5.4.50.0040.01711.36
5.4.40.0030.02211.45
5.4.30.0020.01911.44
5.4.20.0030.01611.41
5.4.10.0040.01611.27
5.4.00.0040.01711.18
5.3.290.0070.02211.99
5.3.280.0040.02311.94
5.3.270.0020.02411.95
5.3.260.0040.02311.95
5.3.250.0070.02011.95
5.3.240.0050.02511.95
5.3.230.0060.02311.94
5.3.220.0030.02411.93
5.3.210.0060.02211.93
5.3.200.0070.01811.93
5.3.190.0070.01911.93
5.3.180.0070.01911.93
5.3.170.0040.02311.92
5.3.160.0040.02111.92
5.3.150.0020.02311.92
5.3.140.0060.01911.92
5.3.130.0040.02211.92
5.3.120.0040.02211.92
5.3.110.0050.02311.92
5.3.100.0040.02111.65
5.3.90.0080.02011.64
5.3.80.0040.02711.64
5.3.70.0050.02211.64
5.3.60.0070.01911.63
5.3.50.0060.02111.61
5.3.40.0060.02311.61
5.3.30.0080.02711.58
5.3.20.0050.01911.47
5.3.10.0060.02011.46
5.3.00.0040.02911.45
5.2.170.0030.02010.18
5.2.160.0050.01410.18
5.2.150.0050.01610.18
5.2.140.0010.01910.18
5.2.130.0030.01610.16
5.2.120.0040.01510.16
5.2.110.0020.01710.16
5.2.100.0070.01310.16
5.2.90.0070.01610.16
5.2.80.0040.01610.16
5.2.70.0030.01710.16
5.2.60.0050.01710.13
5.2.50.0050.01510.12
5.2.40.0030.01810.11
5.2.30.0040.01710.09
5.2.20.0050.01610.09
5.2.10.0050.01610.05
5.2.00.0050.0169.98
5.1.60.0040.0139.62
5.1.50.0040.0149.62
5.1.40.0040.0159.61
5.1.30.0090.0169.79
5.1.20.0040.0189.80
5.1.10.0050.0149.66
5.1.00.0050.0149.66
5.0.50.0070.0108.90
5.0.40.0040.0108.83
5.0.30.0050.0168.74
5.0.20.0030.0148.72
5.0.10.0040.0118.71
5.0.00.0050.0168.71
4.4.90.0030.0107.98
4.4.80.0040.0087.96
4.4.70.0010.0127.96
4.4.60.0020.0097.96
4.4.50.0040.0087.97
4.4.40.0010.0157.94
4.4.30.0040.0097.97
4.4.20.0030.0108.01
4.4.10.0040.0098.01
4.4.00.0020.0147.97
4.3.110.0050.0077.92
4.3.100.0050.0087.92
4.3.90.0040.0097.91
4.3.80.0030.0147.88
4.3.70.0030.0157.90
4.3.60.0030.0127.90
4.3.50.0010.0117.90
4.3.40.0030.0157.86
4.3.30.0020.0117.23
4.3.20.0010.0127.22
4.3.10.0020.0107.20
4.3.00.0230.01712.30

preferences:
36.52 ms | 400 KiB | 5 Q