3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array([wi_fi] => 0, [test] => "abcd"); $arr2 = array([wi_fi] => 1, [test] => "abc"); var_dump(array_diff($arr1,$arr2));

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.0090.00616.63
8.3.50.0160.00221.28
8.3.40.0120.00918.85
8.3.30.0120.00318.73
8.3.20.0050.00320.04
8.3.10.0000.00821.77
8.3.00.0050.00223.65
8.2.180.0070.01418.29
8.2.170.0070.00722.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0050.00224.66
8.2.130.0080.00019.70
8.2.120.0040.00426.35
8.2.110.0030.00622.08
8.2.100.0090.00317.80
8.2.90.0040.00419.23
8.2.80.0060.00318.02
8.2.70.0060.00317.75
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0000.00822.02
8.2.30.0000.00719.30
8.2.20.0050.00217.80
8.2.10.0070.00018.09
8.2.00.0040.00417.92
8.1.280.0060.00925.92
8.1.270.0000.00922.06
8.1.260.0050.00328.09
8.1.250.0090.00028.09
8.1.240.0060.00323.86
8.1.230.0090.00319.08
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0030.00517.13
8.1.180.0040.00418.10
8.1.170.0040.00418.62
8.1.160.0000.00720.61
8.1.150.0040.00418.69
8.1.140.0000.00919.54
8.1.130.0070.00017.61
8.1.120.0040.00417.41
8.1.110.0040.00417.34
8.1.100.0060.00317.38
8.1.90.0000.00717.27
8.1.80.0030.00517.27
8.1.70.0000.00717.43
8.1.60.0080.00017.54
8.1.50.0080.00017.50
8.1.40.0030.00617.42
8.1.30.0060.00317.54
8.1.20.0080.00017.54
8.1.10.0070.00017.42
8.1.00.0000.00917.45
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0030.00318.42
8.0.270.0080.00017.16
8.0.260.0030.00317.24
8.0.250.0040.00417.05
8.0.240.0000.00716.98
8.0.230.0070.00016.97
8.0.220.0000.00716.95
8.0.210.0000.00816.96
8.0.200.0030.00316.98
8.0.190.0000.00917.02
8.0.180.0000.00716.99
8.0.170.0000.00916.96
8.0.160.0040.00417.07
8.0.150.0030.00316.80
8.0.140.0070.00016.83
8.0.130.0000.00513.41
8.0.120.0080.00016.90
8.0.110.0040.00416.86
8.0.100.0040.00416.81
8.0.90.0000.01016.88
8.0.80.0150.00616.88
8.0.70.0040.00416.84
8.0.60.0000.00716.75
8.0.50.0070.00016.83
8.0.30.0130.00917.27
8.0.20.0120.01017.40
8.0.10.0040.00416.89
8.0.00.0110.00816.78
7.4.330.0050.00016.84
7.4.320.0060.00016.54
7.4.300.0050.00216.57
7.4.290.0070.00016.59
7.4.280.0110.00016.48
7.4.270.0070.00016.52
7.4.260.0030.00716.46
7.4.250.0040.00416.39
7.4.240.0050.00216.51
7.4.230.0040.00416.60
7.4.220.0200.00616.50
7.4.210.0080.00716.61
7.4.200.0070.00016.57
7.4.160.0130.00316.59
7.4.150.0070.01117.40
7.4.140.0130.00917.86
7.4.130.0140.00716.55
7.4.120.0080.00816.61
7.4.110.0030.01216.43
7.4.100.0150.00616.36
7.4.90.0170.00016.43
7.4.80.0060.01219.39
7.4.70.0090.00916.45
7.4.60.0100.00616.48
7.4.50.0110.00816.42
7.4.40.0030.01316.48
7.4.30.0100.00716.64
7.4.00.0030.01014.96
7.3.330.0000.00613.00
7.3.320.0020.00213.13
7.3.310.0030.00316.20
7.3.300.0030.00316.31
7.3.290.0070.00016.28
7.3.280.0060.01016.28
7.3.270.0110.00717.40
7.3.260.0100.00616.46
7.3.240.0150.00516.44
7.3.230.0060.01216.57
7.3.210.0080.01216.42
7.3.200.0060.01419.39
7.3.190.0070.01016.31
7.3.180.0110.00616.28
7.3.170.0070.01016.27
7.3.160.0080.00916.23
7.3.10.0120.00416.09
7.3.00.0070.00416.64
7.2.330.0180.00016.67
7.2.320.0080.01116.77
7.2.310.0030.01316.56
7.2.300.0120.00416.36
7.2.290.0070.01016.45
7.2.130.0150.00416.60
7.2.120.0060.00316.73
7.2.110.0060.00616.83
7.2.100.0110.00716.68
7.2.90.0040.00816.51
7.2.80.0060.01216.80
7.2.70.0000.00916.67
7.2.60.0130.00516.79
7.2.50.0000.01116.84
7.2.40.0100.00316.99
7.2.30.0080.00816.96
7.2.20.0040.00716.84
7.2.10.0060.00616.69
7.2.00.0050.00817.89
7.1.250.0120.00415.73
7.1.200.0080.00315.38
7.1.70.0040.00417.09
7.1.60.0080.00317.17
7.1.50.0210.01434.70
7.1.00.0100.07022.32
7.0.200.0030.01016.62
7.0.60.0200.08021.84
7.0.50.0030.04317.88
7.0.40.0130.07020.23
7.0.30.0370.05719.95
7.0.20.0270.05020.17
7.0.10.0170.04020.18
7.0.00.0030.05320.17
5.6.280.0000.03321.14
5.6.210.0070.05320.64
5.6.200.0000.06018.09
5.6.190.0130.05320.56
5.6.180.0500.04320.42
5.6.170.0330.04320.33
5.6.160.0070.06320.48
5.6.150.0130.06018.12
5.6.140.0000.04318.21
5.6.130.0070.04718.20
5.6.120.0030.08721.11
5.6.110.0130.07320.93
5.6.100.0070.08020.97
5.6.90.0030.04321.10
5.6.80.0100.05320.40
5.5.350.0330.06320.37
5.5.340.0100.06317.89
5.5.330.0170.07720.18
5.5.320.0570.07020.22
5.5.310.0330.05320.17
5.5.300.0030.04017.98
5.5.290.0100.06317.89
5.5.280.0030.07720.87
5.5.270.0000.04320.76
5.5.260.0100.04720.79
5.5.250.0100.08320.58
5.5.240.0170.07720.36

preferences:
63.65 ms | 401 KiB | 5 Q