3v4l.org

run code in 300+ PHP versions simultaneously
<?php $changes = ['a', 'b']; $excludeFields = [ 'password' ]; $changedFields = array_keys($changes); 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.0120.00318.27
8.3.50.0090.00618.04
8.3.40.0150.00018.63
8.3.30.0150.00018.39
8.3.20.0080.00019.07
8.3.10.0040.00423.65
8.3.00.0070.00020.56
8.2.180.0090.00618.16
8.2.170.0070.00722.96
8.2.160.0070.00720.65
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00419.77
8.2.120.0040.00426.35
8.2.110.0080.00022.09
8.2.100.0060.00617.66
8.2.90.0000.00818.22
8.2.80.0030.00517.97
8.2.70.0080.00017.91
8.2.60.0030.00617.86
8.2.50.0000.00818.10
8.2.40.0000.00719.39
8.2.30.0040.00419.12
8.2.20.0040.00418.03
8.2.10.0080.00018.05
8.2.00.0040.00417.64
8.1.280.0140.00325.92
8.1.270.0080.00020.65
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0100.00723.78
8.1.230.0000.01120.97
8.1.220.0040.00417.79
8.1.210.0000.00719.04
8.1.200.0050.00517.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00418.65
8.1.160.0040.00418.78
8.1.150.0040.00418.94
8.1.140.0070.00022.00
8.1.130.0070.00021.92
8.1.120.0030.00317.34
8.1.110.0000.00717.47
8.1.100.0040.00417.44
8.1.90.0040.00417.36
8.1.80.0050.00217.46
8.1.70.0030.00317.44
8.1.60.0000.00817.47
8.1.50.0040.00417.50
8.1.40.0040.00417.37
8.1.30.0030.00717.66
8.1.20.0040.00417.64
8.1.10.0090.00017.47
8.1.00.0020.00517.32
8.0.300.0000.00719.89
8.0.290.0060.00316.63
8.0.280.0030.00318.36
8.0.270.0070.00017.10
8.0.260.0060.00018.40
8.0.250.0000.00816.87
8.0.240.0000.00616.86
8.0.230.0030.00316.88
8.0.220.0000.00716.84
8.0.210.0000.00616.69
8.0.200.0060.00016.88
8.0.190.0070.00016.90
8.0.180.0070.00316.91
8.0.170.0000.00916.95
8.0.160.0070.00016.90
8.0.150.0000.00716.80
8.0.140.0030.00316.87
8.0.130.0000.00613.28
8.0.120.0000.00816.88
8.0.110.0060.00316.82
8.0.100.0040.00416.79
8.0.90.0030.00316.90
8.0.80.0100.00416.90
8.0.70.0000.00816.85
8.0.60.0040.00416.75
8.0.50.0000.00716.89
8.0.30.0070.01116.97
8.0.20.0090.01417.40
8.0.10.0040.00416.80
8.0.00.0170.01016.63
7.4.330.0020.00215.55
7.4.320.0070.00016.55
7.4.300.0040.00416.50
7.4.290.0080.00016.57
7.4.280.0060.00316.50
7.4.270.0030.00316.35
7.4.260.0070.00016.48
7.4.250.0000.00716.46
7.4.240.0040.00416.51
7.4.230.0030.00316.29
7.4.220.0030.00616.66
7.4.210.0060.01016.55
7.4.200.0030.00316.69
7.4.160.0100.00716.49
7.4.140.0110.01017.86
7.4.130.0060.01216.34
7.4.120.0110.00816.48
7.4.110.0140.00716.28
7.4.100.0140.01016.37
7.4.90.0090.00916.55
7.4.80.0090.01119.39
7.4.70.0100.00616.44
7.4.60.0060.00916.50
7.4.50.0070.01016.27
7.4.40.0120.00916.36
7.4.00.0050.01114.94
7.3.330.0000.00613.07
7.3.320.0050.00013.11
7.3.310.0050.00316.13
7.3.300.0030.00316.18
7.3.290.0040.00416.18
7.3.280.0090.00616.13
7.3.260.0100.01016.34
7.3.240.0090.00916.27
7.3.230.0140.00616.42
7.3.210.0100.00616.36
7.3.200.0030.01316.45
7.3.190.0090.00916.53
7.3.180.0060.00916.36
7.3.170.0110.00716.50
7.3.160.0120.01116.32
7.3.120.0100.01014.66
7.3.110.0090.00615.09
7.3.100.0120.00314.75
7.3.90.0030.01014.65
7.3.80.0060.00614.61
7.3.70.0030.00714.64
7.3.60.0070.01014.78
7.3.50.0030.01014.66
7.3.40.0090.00614.64
7.3.30.0030.01014.80
7.3.20.0070.00616.67
7.3.10.0080.00616.45
7.3.00.0040.00916.53
7.2.330.0090.00916.68
7.2.320.0120.00616.58
7.2.310.0070.01016.36
7.2.300.0060.01016.52
7.2.290.0070.01016.41
7.2.250.0030.01714.82
7.2.240.0000.01815.23
7.2.230.0070.01014.70
7.2.220.0030.01014.86
7.2.210.0060.00314.85
7.2.200.0060.00615.13
7.2.190.0070.00714.66
7.2.180.0060.00615.02
7.2.170.0000.01114.93
7.2.130.0090.00616.88
7.2.120.0120.00616.97
7.2.110.0740.00715.48
7.2.100.1050.00515.54
7.2.90.0680.00815.86
7.2.80.0520.01015.71
7.2.70.0780.00615.67
7.2.60.0660.00515.84
7.2.50.0700.01015.73
7.2.40.0480.00715.79
7.2.30.0570.01015.72
7.2.20.0450.01015.98
7.2.10.0520.00815.78
7.2.00.0440.00815.58
7.1.330.0040.00815.99
7.1.320.0060.00615.40
7.1.310.0080.00815.85
7.1.300.0060.00315.81
7.1.290.0100.00315.79
7.1.280.0040.00415.52
7.1.270.0060.00315.84
7.1.260.0110.00415.81
7.1.250.0040.00715.62
7.1.230.1270.01113.25
7.1.220.1280.01413.72
7.1.210.1480.01013.46
7.1.200.1310.00013.27
7.1.190.0520.00913.33
7.1.180.0980.00913.48
7.1.170.0990.00713.84
7.1.160.1090.00713.71
7.1.150.0820.00413.86
7.1.140.0770.00413.26
7.1.130.0830.00313.21
7.1.120.0890.00613.36
7.1.110.1010.00713.65
7.1.100.0940.00313.91
7.1.90.0760.01313.56
7.1.80.0760.00713.96
7.1.70.0110.00813.87
7.1.60.0470.01531.66
7.1.50.0830.00731.64
7.1.40.0620.00631.41
7.1.30.0360.00631.20
7.1.20.0950.00631.46
7.1.10.0100.00613.32
7.1.00.0810.01213.88
5.6.380.0090.00613.86

preferences:
58.77 ms | 401 KiB | 5 Q