3v4l.org

run code in 300+ PHP versions simultaneously
<?php $changes = ['a', 'b']; $excludeFields = [ 'password' ]; $changedFields = array_keys($changes); var_dump(count(array_diff($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.0140.00018.31
8.3.50.0120.00318.20
8.3.40.0110.00418.54
8.3.30.0060.00918.64
8.3.20.0000.00719.07
8.3.10.0040.00423.51
8.3.00.0000.00820.61
8.2.180.0090.00618.41
8.2.170.0100.00722.96
8.2.160.0080.00820.82
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0030.00719.82
8.2.120.0160.00326.35
8.2.110.0000.01019.31
8.2.100.0080.00417.58
8.2.90.0050.00317.50
8.2.80.0050.00317.97
8.2.70.0040.00417.80
8.2.60.0040.00418.03
8.2.50.0050.00318.10
8.2.40.0050.00219.38
8.2.30.0000.00719.29
8.2.20.0000.00717.95
8.2.10.0040.00418.08
8.2.00.0000.00817.80
8.1.280.0140.00325.92
8.1.270.0040.00420.71
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0000.01022.53
8.1.230.0070.00422.11
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0040.00418.64
8.1.160.0000.00718.81
8.1.150.0080.00018.92
8.1.140.0070.00022.06
8.1.130.0030.00321.92
8.1.120.0030.00317.52
8.1.110.0040.00417.34
8.1.100.0000.00817.45
8.1.90.0040.00417.47
8.1.80.0040.00417.49
8.1.70.0000.00717.50
8.1.60.0040.00417.53
8.1.50.0080.00017.55
8.1.40.0000.00817.42
8.1.30.0040.00717.49
8.1.20.0040.00417.59
8.1.10.0000.00817.39
8.1.00.0070.00017.48
8.0.300.0040.00418.77
8.0.290.0070.00016.58
8.0.280.0030.00318.25
8.0.270.0070.00017.13
8.0.260.0000.00618.41
8.0.250.0000.00916.87
8.0.240.0030.00316.82
8.0.230.0050.00216.84
8.0.220.0030.00316.86
8.0.210.0000.00716.84
8.0.200.0070.00016.91
8.0.190.0040.00416.94
8.0.180.0000.00816.80
8.0.170.0030.00616.92
8.0.160.0000.00816.88
8.0.150.0000.00716.70
8.0.140.0030.00316.86
8.0.130.0050.00013.25
8.0.120.0040.00416.86
8.0.110.0000.00716.81
8.0.100.0050.00316.89
8.0.90.0040.00416.94
8.0.80.0120.00316.85
8.0.70.0000.00816.90
8.0.60.0040.00416.89
8.0.50.0000.00716.76
8.0.30.0110.00717.21
8.0.20.0090.01117.40
8.0.10.0000.00716.97
8.0.00.0090.01416.77
7.4.330.0000.00515.55
7.4.320.0070.00016.41
7.4.300.0000.00716.63
7.4.290.0040.00516.50
7.4.280.0030.00616.57
7.4.270.0060.00016.49
7.4.260.0000.00716.56
7.4.250.0070.00016.55
7.4.240.0050.00216.52
7.4.230.0000.00616.41
7.4.220.0000.00916.33
7.4.210.0070.00816.57
7.4.200.0030.00316.50
7.4.160.0100.00616.50
7.4.140.0130.00817.86
7.4.130.0160.00616.36
7.4.120.0110.00816.55
7.4.110.0150.00316.32
7.4.100.0160.00916.42
7.4.90.0070.01016.41
7.4.80.0060.01119.39
7.4.70.0080.00816.29
7.4.60.0030.01316.61
7.4.50.0070.00716.50
7.4.40.0030.01316.29
7.4.00.0020.01314.87
7.3.330.0060.00013.02
7.3.320.0000.00513.08
7.3.310.0060.00316.32
7.3.300.0000.00716.25
7.3.290.0000.00716.18
7.3.280.0080.01016.17
7.3.260.0110.00916.26
7.3.240.0100.00716.29
7.3.230.0070.01016.17
7.3.210.0090.00616.55
7.3.200.0090.00916.34
7.3.190.0100.00616.41
7.3.180.0030.01316.24
7.3.170.0100.00716.55
7.3.160.0060.01716.59
7.3.120.0080.01114.70
7.3.110.0050.01414.92
7.3.100.0090.00614.72
7.3.90.0070.00814.71
7.3.80.0050.01014.83
7.3.70.0050.00714.71
7.3.60.0050.00814.75
7.3.50.0050.00914.76
7.3.40.0050.00614.62
7.3.30.0020.01214.70
7.3.20.0020.00816.75
7.3.10.0060.01216.51
7.3.00.0070.00616.43
7.2.330.0140.00416.70
7.2.320.0060.01416.45
7.2.310.0090.00616.34
7.2.300.0060.00916.40
7.2.290.0070.01016.48
7.2.250.0140.00414.82
7.2.240.0060.01314.90
7.2.230.0070.00914.92
7.2.220.0070.00615.01
7.2.210.0060.00914.91
7.2.200.0040.00715.03
7.2.190.0050.00814.96
7.2.180.0020.01514.94
7.2.170.0120.00514.98
7.2.160.0070.00715.19
7.2.150.0080.00316.96
7.2.140.0000.01716.91
7.2.130.0070.01316.63
7.2.120.0040.00917.02
7.2.110.0350.00815.46
7.2.100.0060.00915.73
7.2.90.0040.01315.74
7.2.80.0110.00415.53
7.2.70.0380.00315.79
7.2.60.0430.00815.84
7.2.50.0430.01215.99
7.2.40.0480.01215.82
7.2.30.0510.00515.65
7.2.20.0500.00315.98
7.2.10.0420.01015.71
7.2.00.0450.00915.73
7.1.330.0040.00915.87
7.1.320.0070.00615.55
7.1.310.0020.01115.78
7.1.300.0070.00915.63
7.1.290.0070.00515.75
7.1.280.0070.00515.81
7.1.270.0030.01315.55
7.1.260.0070.00815.52
7.1.250.0090.00615.53
7.1.230.0100.00613.43
7.1.220.0610.00713.31
7.1.210.0040.01214.07
7.1.200.0060.01113.98
7.1.190.0060.00913.90
7.1.180.1250.00313.79
7.1.170.0690.00613.72
7.1.160.1450.00713.77
7.1.150.0630.00713.39
7.1.140.1080.00713.83
7.1.130.0800.00613.54
7.1.120.1320.00913.69
7.1.110.1080.01013.95
7.1.100.0800.00614.02
7.1.90.0760.00613.89
7.1.80.1010.00713.58
7.1.70.0870.00613.79
7.1.60.1050.01331.63
7.1.50.1800.01731.84
7.1.40.2050.01931.44
7.1.30.1580.01331.53
7.1.20.2780.01331.51
7.1.10.2040.00713.56
7.1.00.1070.00713.49
5.6.380.0120.00413.85

preferences:
56.61 ms | 400 KiB | 5 Q