3v4l.org

run code in 300+ PHP versions simultaneously
<?php $aa = [ 'schemas', 'id', 'externalId', 'meta', 'userName', 'active', 'emails', 'orgname', 'department', 'roles', 'address', 'phoneNumbers' ]; $attributes = ['schemas', 'id', 'externalId', 'kllsdaf']; $re = array_diff($attributes, $aa); var_dump($re);

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.0120.00316.32
8.3.50.0130.00316.30
8.3.40.0100.00721.82
8.3.30.0070.00718.55
8.3.20.0150.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.180.0140.00325.92
8.2.170.0120.00318.58
8.2.160.0070.01022.96
8.2.150.0080.00025.66
8.2.140.0040.00724.66
8.2.130.0050.00226.16
8.2.120.0040.00426.35
8.2.110.0120.00921.96
8.2.100.0080.00419.51
8.2.90.0000.00817.38
8.2.80.0030.00518.58
8.2.70.0050.00317.61
8.2.60.0040.00417.91
8.2.50.0040.00418.07
8.2.40.0050.00319.76
8.2.30.0030.00518.04
8.2.20.0040.00417.92
8.2.10.0000.00819.11
8.2.00.0030.00519.11
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0090.00020.20
8.1.230.0080.00317.57
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0080.00017.10
8.1.180.0070.00018.10
8.1.170.0000.00818.36
8.1.160.0040.00418.69
8.1.150.0030.00518.86
8.1.140.0100.00018.75
8.1.130.0000.00720.25
8.1.120.0030.00317.32
8.1.110.0040.00417.38
8.1.100.0070.00017.28
8.1.90.0040.00417.35
8.1.80.0040.00417.35
8.1.70.0040.00417.43
8.1.60.0040.00417.46
8.1.50.0030.00617.45
8.1.40.0000.00817.31
8.1.30.0000.00817.52
8.1.20.0040.00417.59
8.1.10.0040.00417.40
8.1.00.0040.00417.37
8.0.300.0040.00418.81
8.0.290.0070.00016.63
8.0.280.0050.00218.38
8.0.270.0070.00017.85
8.0.260.0030.00320.19
8.0.250.0070.00016.84
8.0.240.0030.00316.91
8.0.230.0070.00016.85
8.0.220.0070.00016.82
8.0.210.0040.00416.81
8.0.200.0070.00016.79
8.0.190.0050.00316.87
8.0.180.0080.00016.72
8.0.170.0000.00916.74
8.0.160.0040.00416.75
8.0.150.0040.00416.75
8.0.140.0040.00416.68
8.0.130.0050.00013.27
8.0.120.0070.00016.77
8.0.110.0050.00316.73
8.0.100.0040.00416.92
8.0.90.0030.00416.77
8.0.80.0080.00616.75
8.0.70.0000.00716.87
8.0.60.0040.00416.64
8.0.50.0030.00516.88
8.0.30.0160.00016.77
8.0.20.0100.00917.13
8.0.10.0000.00716.98
8.0.00.0100.00716.68
7.4.330.0030.00315.55
7.4.320.0030.00316.35
7.4.300.0000.00616.43
7.4.290.0000.00716.38
7.4.280.0040.00416.34
7.4.270.0060.00316.43
7.4.260.0030.00313.20
7.4.250.0000.00716.37
7.4.240.0050.00216.46
7.4.230.0030.00316.52
7.4.220.0000.00716.43
7.4.210.0080.00816.59
7.4.200.0030.00316.31
7.4.130.0130.00616.29
7.4.120.0150.00616.32
7.4.110.0130.00316.10
7.4.100.0030.01416.45
7.4.90.0110.00916.43
7.4.80.0060.01016.18
7.4.70.0130.00316.44
7.4.60.0100.00716.25
7.4.50.0030.01416.36
7.4.40.0090.01416.22
7.4.30.0070.01016.43
7.4.20.0120.00616.34
7.4.10.0150.00316.33
7.4.00.0130.00315.92
7.3.330.0000.00616.09
7.3.320.0000.00512.84
7.3.310.0030.00316.09
7.3.300.0030.00316.12
7.3.290.0100.00716.14
7.3.260.0160.00816.19
7.3.240.0110.00916.28
7.3.230.0080.00816.15
7.3.220.0060.01116.38
7.3.210.0070.01116.27
7.3.200.0060.00916.08
7.3.190.0100.00616.17
7.3.180.0060.01016.24
7.3.170.0130.01016.20
7.3.160.0040.01916.10
7.3.150.0130.00316.08
7.3.140.0000.01616.11
7.3.130.0090.00615.92
7.3.120.0040.01216.14
7.3.110.0100.00616.11
7.3.100.0120.01216.27
7.3.90.0130.01015.93
7.3.80.0070.01715.74
7.3.70.0090.00916.14
7.3.60.0060.01015.84
7.3.50.0080.00816.00
7.3.40.0080.00915.72
7.3.30.0120.00416.06
7.3.20.0180.00015.94
7.3.10.0070.01016.30
7.3.00.0160.00616.09
7.2.340.0060.01116.30
7.2.330.0120.00616.39
7.2.320.0030.01516.19
7.2.310.0070.01016.57
7.2.300.0120.01216.41
7.2.290.0070.01116.29
7.2.280.0090.00916.30
7.2.270.0170.00016.02
7.2.260.0030.01316.52
7.2.250.0060.01116.32
7.2.240.0030.01416.53
7.2.230.0070.01016.18
7.2.220.0140.01016.36
7.2.210.0130.00516.37
7.2.200.0100.00716.27
7.2.190.0080.00816.37
7.2.180.0040.01216.25
7.2.170.0090.00916.29
7.2.160.0040.01516.26
7.2.150.0060.01216.50
7.2.140.0090.00916.46
7.2.130.0160.01016.38
7.2.120.0090.01616.48
7.2.110.0070.01916.34
7.2.100.0110.00716.44
7.2.90.0090.00916.42
7.2.80.0080.01616.14
7.2.70.0150.00616.25
7.2.60.0080.01216.32
7.2.50.0060.01216.35
7.2.40.0120.00616.29
7.2.30.0070.01116.43
7.2.20.0190.01516.45
7.2.10.0110.00716.22
7.2.00.0100.00716.12

preferences:
45.67 ms | 401 KiB | 5 Q