3v4l.org

run code in 300+ PHP versions simultaneously
<?php $changes = ['a', 'b', 'password']; $excludeFields = [ 'password' ]; var_dump(count(array_intersect($changedFields, $excludeFields)) !== 0);

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.0180.00018.30
8.3.50.0090.00618.04
8.3.40.0090.01218.79
8.3.30.0090.00618.50
8.3.20.0000.00819.13
8.3.10.0050.00223.43
8.3.00.0040.00420.56
8.2.180.0070.00718.25
8.2.170.0070.00722.96
8.2.160.0070.00720.77
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0000.00819.63
8.2.120.0040.00426.35
8.2.110.0060.00319.45
8.2.100.0140.00317.78
8.2.90.0050.00317.38
8.2.80.0050.00317.97
8.2.70.0000.00917.91
8.2.60.0070.00317.78
8.2.50.0040.00418.10
8.2.40.0080.00019.16
8.2.30.0040.00419.18
8.2.20.0030.00617.86
8.2.10.0030.00618.16
8.2.00.0040.00417.72
8.1.280.0100.01025.92
8.1.270.0070.00023.99
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00322.22
8.1.230.0000.01122.25
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0090.00017.13
8.1.190.0000.00817.35
8.1.180.0050.00318.10
8.1.170.0080.00018.61
8.1.160.0000.00818.81
8.1.150.0040.00418.73
8.1.140.0000.00722.16
8.1.130.0040.00421.85
8.1.120.0030.00317.41
8.1.110.0000.00817.43
8.1.100.0030.00317.37
8.1.90.0000.00817.39
8.1.80.0080.00017.43
8.1.70.0030.00317.30
8.1.60.0080.00017.53
8.1.50.0020.00517.48
8.1.40.0040.00417.51
8.1.30.0070.00317.62
8.1.20.0000.00717.53
8.1.10.0000.00817.57
8.1.00.0000.00717.49
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00318.25
8.0.270.0000.00817.18
8.0.260.0050.00318.38
8.0.250.0090.00016.86
8.0.240.0030.00316.97
8.0.230.0000.00616.98
8.0.220.0050.00316.78
8.0.210.0000.00716.77
8.0.200.0000.00716.93
8.0.190.0000.00716.83
8.0.180.0060.00316.80
8.0.170.0080.00016.80
8.0.160.0070.00016.93
8.0.150.0020.00516.86
8.0.140.0000.00816.84
8.0.130.0000.00513.37
8.0.120.0040.00416.82
8.0.110.0000.00716.94
8.0.100.0040.00416.74
8.0.90.0040.00416.94
8.0.80.0030.01316.88
8.0.70.0020.00516.99
8.0.60.0000.00716.82
8.0.50.0030.00516.89
8.0.30.0100.01117.05
8.0.20.0100.00817.40
8.0.10.0070.00017.11
8.0.00.0120.00816.85
7.4.330.0000.00615.55
7.4.320.0000.00616.35
7.4.300.0070.00016.55
7.4.290.0050.00216.43
7.4.280.0000.00916.34
7.4.270.0000.00716.63
7.4.260.0030.00316.55
7.4.250.0040.00416.39
7.4.240.0000.00916.61
7.4.230.0070.00016.64
7.4.220.0050.00516.59
7.4.210.0070.00816.56
7.4.200.0030.00316.24
7.4.160.0080.01016.41
7.4.140.0140.00717.86
7.4.130.0090.00916.36
7.4.120.0100.00716.53
7.4.110.0120.00616.49
7.4.100.0160.00816.38
7.4.90.0130.00616.71
7.4.80.0140.01119.39
7.4.70.0040.01216.60
7.4.60.0130.00316.45
7.4.50.0070.01116.37
7.4.40.0060.01716.66
7.4.00.0060.01114.98
7.3.330.0000.00513.18
7.3.320.0020.00213.19
7.3.310.0000.00716.08
7.3.300.0070.00016.16
7.3.290.0080.00016.11
7.3.280.0060.00816.23
7.3.260.0090.01216.40
7.3.240.0110.00716.45
7.3.230.0100.00716.30
7.3.210.0030.01316.34
7.3.200.0160.00316.35
7.3.190.0070.01016.49
7.3.180.0070.01316.45
7.3.170.0160.01016.38
7.3.160.0090.01516.27
7.3.120.0070.01014.79
7.3.110.0070.01015.00
7.3.100.0070.00714.51
7.3.90.0030.01015.04
7.3.80.0120.00314.89
7.3.70.0060.00814.96
7.3.60.0030.01014.60
7.3.50.0080.00814.86
7.3.40.0070.00714.68
7.3.30.0070.00414.70
7.3.20.0040.01016.67
7.3.10.0070.00716.50
7.3.00.0060.00316.48
7.2.330.0130.01016.35
7.2.320.0140.00616.67
7.2.310.0100.00716.60
7.2.300.0130.00316.64
7.2.290.0060.01116.57
7.2.250.0100.00715.21
7.2.240.0100.01015.25
7.2.230.0070.00715.08
7.2.220.0070.01014.94
7.2.210.0070.01115.05
7.2.200.0100.00314.98
7.2.190.0120.00614.88
7.2.180.0040.01114.75
7.2.170.0070.01015.07
7.2.110.0490.00314.21
7.2.100.0670.01314.57
7.2.90.0520.01014.81
7.2.80.0580.00314.80
7.2.70.0630.00614.71
7.2.60.0880.00714.69
7.2.50.0530.01114.65
7.2.40.0910.01315.07
7.2.30.1090.00314.59
7.2.20.0650.01014.66
7.2.10.1040.00314.76
7.2.00.1200.00914.63
7.1.330.0030.00915.48
7.1.320.0080.00015.58
7.1.310.0030.01415.84
7.1.300.0060.01115.77
7.1.290.0030.00915.73
7.1.280.0070.00415.69
7.1.270.0060.00615.94
7.1.260.0030.01315.85
7.1.230.1110.01013.37
7.1.220.0530.00313.82
7.1.210.0770.00313.76
7.1.200.0730.00013.64
7.1.190.0760.01013.89
7.1.180.0970.00613.60
7.1.170.0700.00313.74
7.1.160.0780.00613.73
7.1.150.0660.00313.62
7.1.140.0700.00013.67
7.1.130.0600.01013.72
7.1.120.0680.00613.58
7.1.110.0650.00713.63
7.1.100.0950.00713.72
7.1.90.0720.01013.44
7.1.80.1120.00013.67
7.1.70.0770.01313.67
7.1.60.1450.01331.53
7.1.50.1490.00731.50
7.1.40.1130.01031.60
7.1.30.1620.01931.43
7.1.20.1600.01631.45
7.1.10.1040.00713.21
7.1.00.1060.00313.43
5.6.380.0060.01014.23

preferences:
66.32 ms | 401 KiB | 5 Q