3v4l.org

run code in 300+ PHP versions simultaneously
<?php $source_packages = array( 'two' => array ('param1' => 'First Parameter for Two', 'param2' => 'Second Parameter for Two') ); $result_packages = array_diff_assoc(array('a' => array('b' => 'c')), array('a' => array('b' => 'c'))); var_dump($result_packages); echo "<br />\n";

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.85
8.3.30.0070.00718.59
8.3.20.0000.00818.73
8.3.10.0060.00320.52
8.3.00.0000.00919.18
8.2.170.0100.00322.96
8.2.160.0100.01021.07
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0120.00620.58
8.2.110.0080.00021.05
8.2.100.0090.00317.97
8.2.90.0060.00319.53
8.2.80.0000.00719.46
8.2.70.0030.00617.63
8.2.60.0000.00817.79
8.2.50.0030.00618.07
8.2.40.0040.00417.97
8.2.30.0000.00817.96
8.2.20.0000.00919.38
8.2.10.0000.00717.54
8.2.00.0060.00317.72
8.1.270.0070.00724.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00622.59
8.1.230.0110.00020.65
8.1.220.0040.00417.74
8.1.210.0000.00818.89
8.1.200.0000.00917.23
8.1.190.0060.00317.41
8.1.180.0030.00518.10
8.1.170.0000.00718.76
8.1.160.0020.00518.86
8.1.150.0060.00318.43
8.1.140.0000.00717.38
8.1.130.0070.00017.73
8.1.120.0030.00517.29
8.1.110.0060.00317.28
8.1.100.0000.00817.28
8.1.90.0040.00417.38
8.1.80.0030.00317.39
8.1.70.0000.00817.38
8.1.60.0060.00317.47
8.1.50.0040.00417.31
8.1.40.0070.00017.50
8.1.30.0000.00817.46
8.1.20.0040.00417.47
8.1.10.0000.00817.48
8.1.00.0040.00417.42
8.0.300.0000.00719.86
8.0.290.0070.00016.88
8.0.280.0030.00318.41
8.0.270.0030.00317.18
8.0.260.0000.00716.86
8.0.250.0040.00416.91
8.0.240.0060.00316.91
8.0.230.0030.00316.84
8.0.220.0000.00716.79
8.0.210.0030.00316.79
8.0.200.0050.00316.95
8.0.190.0020.00516.95
8.0.180.0000.00716.83
8.0.170.0000.01016.85
8.0.160.0040.00416.94
8.0.150.0040.00416.81
8.0.140.0040.00416.82
8.0.130.0050.00013.29
8.0.120.0000.00716.72
8.0.110.0040.00416.78
8.0.100.0070.00016.77
8.0.90.0030.00516.83
8.0.80.0040.01116.85
8.0.70.0030.00516.94
8.0.60.0040.00416.73
8.0.50.0000.00716.88
8.0.30.0040.01817.07
8.0.20.0180.00817.03
8.0.10.0000.00716.89
8.0.00.0140.00516.72
7.4.330.0000.00512.91
7.4.320.0060.00016.53
7.4.300.0030.00316.53
7.4.290.0030.00316.53
7.4.280.0040.00416.51
7.4.270.0000.00716.32
7.4.260.0030.00313.16
7.4.250.0040.00416.52
7.4.240.0040.00416.53
7.4.230.0030.00316.42
7.4.220.0190.00016.39
7.4.210.0040.01516.49
7.4.200.0000.00716.41
7.4.190.0070.00016.47
7.4.160.0090.00616.33
7.4.150.0140.00316.46
7.4.140.0100.00716.46
7.4.130.0100.00716.50
7.4.120.0040.01216.38
7.4.110.0130.00616.37
7.4.100.0090.00916.52
7.4.90.0120.00716.42
7.4.80.0070.01016.64
7.4.70.0070.01116.43
7.4.60.0040.01516.64
7.4.50.0000.00616.35
7.4.40.0070.01016.51
7.4.30.0100.01016.31
7.4.10.0100.00714.86
7.4.00.0100.00814.99
7.3.330.0030.00313.09
7.3.320.0000.00712.97
7.3.310.0000.00716.27
7.3.300.0000.00716.14
7.3.290.0060.00816.21
7.3.280.0060.01416.13
7.3.270.0070.01116.39
7.3.260.0110.00616.22
7.3.250.0100.01016.31
7.3.240.0100.00716.25
7.3.230.0030.01416.35
7.3.210.0000.01716.25
7.3.200.0150.00819.39
7.3.190.0110.00716.52
7.3.180.0100.00616.35
7.3.170.0120.00416.44
7.3.160.0040.01216.19
7.3.130.0060.01114.63
7.3.120.0120.00514.77
7.3.110.0090.01014.74
7.3.100.0050.00814.56
7.3.90.0040.00914.53
7.3.80.0080.00414.68
7.3.70.0070.00614.68
7.3.60.0060.00314.73
7.3.50.0060.01014.60
7.3.40.0020.01114.76
7.3.30.0050.00614.65
7.3.20.0030.00916.62
7.3.10.0070.00816.54
7.3.00.0040.01116.64
7.2.330.0100.00716.73
7.2.320.0070.01016.63
7.2.310.0000.02316.61
7.2.300.0110.01116.29
7.2.290.0150.00616.71
7.2.260.0120.00615.00
7.2.250.0090.00914.94
7.2.240.0080.00815.02
7.2.230.0050.01015.08
7.2.220.0030.01114.99
7.2.210.0050.00415.01
7.2.200.0040.01014.94
7.2.190.0050.01014.85
7.2.180.0060.01114.94
7.2.170.0050.00614.94
7.2.160.0080.00615.06
7.2.150.0060.01116.78
7.2.140.0050.01016.68
7.2.130.0010.01016.68
7.2.120.0060.00916.78
7.2.110.0020.01016.81
7.2.100.0050.00716.81
7.2.90.0100.00616.83
7.2.80.0100.00316.97
7.2.70.0060.00716.88
7.2.60.0090.00516.88
7.2.50.0070.00716.84
7.2.40.0070.00616.94
7.2.30.0070.00916.73
7.2.20.0070.00816.97
7.2.10.0080.00516.87
7.2.00.0070.00617.41
7.1.330.0030.01015.88
7.1.320.0040.00815.70
7.1.310.0040.00915.50
7.1.300.0030.00915.77
7.1.290.0030.00915.60
7.1.280.0070.00515.61
7.1.270.0050.00815.73
7.1.260.0060.00915.66
7.1.250.0070.00615.75
7.1.240.0070.00615.68
7.1.230.0050.01015.72
7.1.220.0090.00715.81
7.1.210.0110.00315.79
7.1.200.0000.01515.60
7.1.190.0020.01415.74
7.1.180.0060.00615.59
7.1.170.0050.00615.65
7.1.160.0060.00615.72
7.1.150.0040.00815.67
7.1.140.0070.00515.81
7.1.130.0050.00715.79
7.1.120.0060.00615.68
7.1.110.0060.00615.73
7.1.100.0050.00716.42
7.1.90.0050.00815.74
7.1.80.0040.00815.62
7.1.70.0050.00516.14
7.1.60.0050.00716.94
7.1.50.0050.01216.03
7.1.40.0060.00915.62
7.1.30.0070.00515.76
7.1.20.0020.00915.51
7.1.10.0040.00915.74
7.1.00.0050.01417.93
7.0.330.0040.00715.19
7.0.320.0050.01115.38
7.0.310.0080.00515.30
7.0.300.0050.00615.50
7.0.290.0030.01015.14
7.0.280.0050.00815.25
7.0.270.0110.00315.33
7.0.260.0070.00515.37
7.0.250.0050.00515.38
7.0.240.0100.00515.45
7.0.230.0010.00715.36
7.0.220.0060.00515.20
7.0.210.0030.00715.28
7.0.200.0080.00615.14
7.0.190.0070.00715.21
7.0.180.0040.01215.29
7.0.170.0060.00515.38
7.0.160.0060.00715.31
7.0.150.0020.01115.39
7.0.140.0060.02417.44
7.0.130.0040.00715.28
7.0.120.0050.02817.61
7.0.110.0060.01015.42
7.0.100.0060.01015.28
7.0.90.0060.00515.29
7.0.80.0030.00615.37
7.0.70.0060.00515.43
7.0.60.0070.03016.98
7.0.50.0090.02916.21
7.0.40.0090.02215.75
7.0.30.0090.02215.54
7.0.20.0140.02415.65
7.0.10.0090.02215.58
7.0.00.0060.03215.61
5.6.400.0040.00914.45
5.6.390.0050.00914.19
5.6.380.0050.00914.20
5.6.370.0040.00614.45
5.6.360.0040.00714.51
5.6.350.0020.01014.22
5.6.340.0070.00714.37
5.6.330.0120.00414.34
5.6.320.0040.00814.33
5.6.310.0060.00914.27
5.6.300.0060.01014.29
5.6.290.0020.01214.31
5.6.280.0070.02816.60
5.6.270.0070.00714.38
5.6.260.0030.01113.96
5.6.250.0090.00914.18
5.6.240.0050.01214.29
5.6.230.0070.00814.57
5.6.220.0050.00614.32
5.6.210.0050.03516.34
5.6.200.0070.03315.49
5.6.190.0010.02316.39
5.6.180.1000.01616.45
5.6.170.0190.02816.40
5.6.160.0070.02716.22
5.6.150.0070.03215.43
5.6.140.0040.03015.63
5.6.130.0050.02015.44
5.6.120.0070.03416.58
5.6.110.0080.03016.56
5.6.100.0070.03116.54
5.6.90.0030.03116.52
5.6.80.0050.01816.27
5.6.70.0040.00714.29
5.6.60.0030.00814.10
5.6.50.0020.01013.96
5.6.40.0030.01014.23
5.6.30.0090.00214.27
5.6.20.0050.00514.29
5.6.10.0030.01114.35
5.6.00.0080.00814.31
5.5.380.0050.00514.06
5.5.370.0030.01014.37
5.5.360.0050.00614.03
5.5.350.0070.02716.24
5.5.340.0050.02515.51
5.5.330.0080.02516.20
5.5.320.0140.02816.21
5.5.310.0100.01816.13
5.5.300.0090.03215.56
5.5.290.0060.02915.50
5.5.280.0070.02016.43
5.5.270.0100.02216.52
5.5.260.0080.02816.52
5.5.250.0050.03216.27
5.5.240.1400.01716.02
5.5.230.0060.00914.02
5.5.220.0000.01314.07
5.5.210.0090.00414.11
5.5.200.0050.00814.29
5.5.190.0060.00714.11
5.5.180.0070.00514.16
5.5.170.0030.01014.08
5.5.160.0100.00513.99
5.5.150.0050.00814.15
5.5.140.0080.00614.24
5.5.130.0050.00713.94
5.5.120.0080.00814.13
5.5.110.0070.00513.88
5.5.100.0030.00614.08
5.5.90.0080.00713.89
5.5.80.0060.00713.91
5.5.70.0050.00814.11
5.5.60.0060.00614.06
5.5.50.0050.00914.36
5.5.40.0070.00313.91
5.5.30.0070.00314.15
5.5.20.0060.00814.04
5.5.10.0110.00313.75
5.5.00.0100.00313.96
5.4.450.0030.03113.81
5.4.440.0020.02413.90
5.4.430.0060.02313.68
5.4.420.0040.03013.85
5.4.410.0070.02813.54
5.4.400.0050.03113.61
5.4.390.0050.02113.48
5.4.380.0030.02713.68
5.4.370.0030.01613.69
5.4.360.0040.02713.59
5.4.350.0050.02813.64
5.4.340.0040.03213.68
5.4.330.0040.00910.83
5.4.320.0020.02013.62
5.4.310.0050.01513.57
5.4.300.0050.01613.48
5.4.290.0070.02913.60
5.4.280.0040.02913.56
5.4.270.0060.01613.55
5.4.260.0030.02513.65
5.4.250.0030.03213.51
5.4.240.0070.02713.72
5.4.230.0030.02513.68
5.4.220.0030.02513.51
5.4.210.0040.02713.50
5.4.200.0020.01913.52
5.4.190.0040.02113.58
5.4.180.0050.01813.40
5.4.170.0070.02513.56
5.4.160.0040.03113.57
5.4.150.0060.02813.45
5.4.140.0030.03012.57
5.4.130.0040.02812.74
5.4.120.0060.02912.67
5.4.110.0030.01712.66
5.4.100.0050.01712.74
5.4.90.0060.02812.62
5.4.80.0040.02812.70
5.4.70.0050.02612.60
5.4.60.0030.02012.64
5.4.50.0020.02812.54
5.4.40.0030.03012.68
5.4.30.0070.03012.79
5.4.20.0080.01512.76
5.4.10.0070.01612.57
5.4.00.0050.02812.48
5.3.290.0020.01911.96
5.3.280.0030.01711.79
5.3.270.0030.02911.81
5.3.260.0080.02611.78
5.3.250.0040.02311.86
5.3.240.0050.01911.78
5.3.230.0010.03311.73
5.3.220.0070.01911.63
5.3.210.0040.02411.61
5.3.200.0030.02011.64
5.3.190.0010.02211.71
5.3.180.0030.02511.80
5.3.170.0040.02711.76
5.3.160.0030.03011.87
5.3.150.0040.02211.83
5.3.140.0040.01611.83
5.3.130.0070.02811.71
5.3.120.0060.02211.72
5.3.110.0040.03011.72
5.3.100.0060.03011.61
5.3.90.0030.01811.43
5.3.80.0030.02911.40
5.3.70.0010.01711.52
5.3.60.0050.02011.56
5.3.50.0050.01611.49
5.3.40.0030.02911.37
5.3.30.0030.01911.44
5.3.20.0030.02311.37
5.3.10.0060.02011.29
5.3.00.0020.02211.29
5.2.170.0030.04710.96
5.2.160.0030.03311.02
5.2.150.0030.05311.12
5.2.140.0030.03011.09
5.2.130.0000.06311.25
5.2.120.0100.05011.25
5.2.110.0030.05711.04
5.2.100.0030.03711.10
5.2.90.0170.05011.00
5.2.80.0070.06011.00
5.2.70.0030.06711.07
5.2.60.0070.06310.98
5.2.50.0070.06010.98
5.2.40.0000.06710.95
5.2.30.0070.03710.91
5.2.20.0070.05310.77
5.2.10.0030.06711.01
5.2.00.0100.06010.75
5.1.60.0000.0509.89
5.1.50.0030.02310.07
5.1.40.0030.0579.97
5.1.30.0100.04710.34
5.1.20.0070.04710.35
5.1.10.0000.06310.12
5.1.00.0130.04710.05
5.0.50.0100.0308.60
5.0.40.0030.0208.42
5.0.30.0070.0408.20
5.0.20.0100.0308.16
5.0.10.0070.0438.15
5.0.00.0000.0708.23
4.4.90.0030.0137.80
4.4.80.0030.0207.80
4.4.70.0000.0177.80
4.4.60.0000.0177.80
4.4.50.0030.0137.80
4.4.40.0030.0507.80
4.4.30.0030.0377.80
4.4.20.0030.0337.80
4.4.10.0030.0377.80
4.4.00.0000.0407.80
4.3.110.0000.0177.80
4.3.100.0000.0377.80
4.3.90.0170.0137.80
4.3.80.0030.0577.80
4.3.70.0000.0207.80
4.3.60.0070.0337.80
4.3.50.0030.0277.80
4.3.40.0000.0537.80
4.3.30.0000.0377.80
4.3.20.0000.0307.80
4.3.10.0000.0207.80
4.3.00.0030.0207.80

preferences:
45.38 ms | 400 KiB | 5 Q