3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mandatoryFields = ['a', 'b', 'c']; $checkIfMandatoryFieldsAreMissing = function($mandatoryField){ return false; }; $checkedMandatoryFields = array_map($checkIfMandatoryFieldsAreMissing, $mandatoryFields); var_dump($checkedMandatoryFields);

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.0110.00716.38
8.3.50.0040.01116.27
8.3.40.0110.00418.65
8.3.30.0090.00618.57
8.3.20.0040.00418.57
8.3.10.0000.00821.86
8.3.00.0000.00721.73
8.2.180.0060.00918.16
8.2.170.0070.00722.96
8.2.160.0100.00322.21
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0080.00019.83
8.2.120.0070.00026.35
8.2.110.0090.00022.11
8.2.100.0060.00617.91
8.2.90.0040.00417.38
8.2.80.0030.00617.97
8.2.70.0080.00018.04
8.2.60.0070.00019.34
8.2.50.0040.00418.10
8.2.40.0040.00420.55
8.2.30.0040.00419.32
8.2.20.0040.00418.06
8.2.10.0000.00718.12
8.2.00.0070.00017.68
8.1.280.0120.00325.92
8.1.270.0040.00423.96
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0030.00723.84
8.1.230.0070.00319.01
8.1.220.0000.00917.79
8.1.210.0030.00518.77
8.1.200.0040.00417.35
8.1.190.0050.00317.22
8.1.180.0050.00318.10
8.1.170.0040.00418.64
8.1.160.0030.00523.96
8.1.150.0000.00818.89
8.1.140.0040.00419.57
8.1.130.0070.00017.70
8.1.120.0050.00217.36
8.1.110.0000.00717.38
8.1.100.0040.00417.44
8.1.90.0040.00417.52
8.1.80.0030.00517.49
8.1.70.0040.00417.36
8.1.60.0050.00317.46
8.1.50.0040.00417.44
8.1.40.0050.00317.43
8.1.30.0000.00717.64
8.1.20.0000.00717.60
8.1.10.0070.00017.44
8.1.00.0080.00317.43
8.0.300.0000.00718.77
8.0.290.0080.00016.63
8.0.280.0050.00218.38
8.0.270.0000.00717.15
8.0.260.0060.00017.12
8.0.250.0030.00316.81
8.0.240.0000.00616.77
8.0.230.0000.00816.89
8.0.220.0030.00516.84
8.0.210.0000.00716.73
8.0.200.0030.00316.95
8.0.190.0070.00016.80
8.0.180.0000.00716.89
8.0.170.0000.00816.77
8.0.160.0080.00016.93
8.0.150.0060.00316.76
8.0.140.0070.00016.91
8.0.130.0000.00513.30
8.0.120.0040.00416.79
8.0.110.0070.00016.88
8.0.100.0040.00416.89
8.0.90.0000.00716.87
8.0.80.0110.00616.88
8.0.70.0070.00016.70
8.0.60.0040.00416.79
8.0.50.0000.00716.88
8.0.30.0050.01216.93
8.0.20.0090.01117.40
8.0.10.0040.00417.02
8.0.00.0090.00916.49
7.4.330.0000.00515.55
7.4.320.0060.00016.59
7.4.300.0030.00316.56
7.4.290.0040.00416.57
7.4.280.0030.00516.41
7.4.270.0000.00716.58
7.4.260.0050.00516.62
7.4.250.0030.00316.54
7.4.240.0050.00216.60
7.4.230.0000.00716.65
7.4.220.0170.01016.51
7.4.210.0060.01516.60
7.4.200.0070.00016.62
7.4.160.0060.01116.35
7.4.150.0120.01217.40
7.4.140.0090.00817.86
7.4.130.0070.01216.53
7.4.120.0080.01016.38
7.4.110.0070.01016.49
7.4.100.0030.01416.66
7.4.90.0090.01516.63
7.4.80.0080.01219.39
7.4.70.0060.01516.53
7.4.60.0030.01316.54
7.4.50.0110.00416.14
7.4.40.0120.00616.27
7.4.30.0100.01016.60
7.4.00.0000.01414.67
7.3.330.0030.00313.05
7.3.320.0000.00713.20
7.3.310.0000.00716.11
7.3.300.0000.00716.24
7.3.290.0060.00916.21
7.3.280.0110.01116.19
7.3.270.0030.01317.40
7.3.260.0070.01016.27
7.3.250.0110.00616.33
7.3.240.0110.00816.47
7.3.230.0100.00716.39
7.3.210.0100.00616.17
7.3.200.0070.01416.39
7.3.190.0070.01016.18
7.3.180.0060.00916.16
7.3.170.0150.00916.11
7.3.160.0140.00316.08
7.2.330.0090.00916.75
7.2.320.0110.00716.36
7.2.310.0090.00716.34
7.2.300.0100.01316.44
7.2.290.0060.01116.73
7.2.110.0110.00815.75
7.1.200.0030.00915.67
7.1.70.0040.00417.13
7.1.60.0100.00317.09
7.1.00.0070.07322.42
7.0.200.0160.00016.71
7.0.120.0200.06322.05
7.0.110.0130.06022.07
7.0.100.0070.07722.00
7.0.90.0230.05322.10
7.0.80.0130.06722.13
7.0.70.0170.04722.13
7.0.60.0070.08322.00
7.0.50.0100.07022.09
7.0.40.0170.04722.11
7.0.30.0130.05322.14
7.0.20.0070.06022.07
7.0.10.0030.06022.11
7.0.00.0100.08722.01
5.6.270.0130.06321.04
5.6.260.0070.06320.79
5.6.250.0100.07021.10
5.6.240.0170.05720.74
5.6.230.0130.05720.87
5.6.220.0170.07321.08
5.6.210.0230.04720.95
5.6.200.0070.06320.93
5.6.190.0070.06320.87
5.6.180.0170.05020.94
5.6.170.0030.06720.99
5.6.160.0130.06720.99
5.6.150.0070.07320.83
5.6.140.0170.06320.82
5.6.130.0230.04320.98
5.6.120.0100.07720.84
5.6.110.0070.09020.99
5.6.100.0130.05320.87
5.6.90.0200.05020.90
5.6.80.0200.04320.19
5.6.70.0170.05020.38
5.6.60.0130.05320.20
5.6.50.0100.05720.37
5.6.40.0070.06020.15
5.6.30.0030.06720.10
5.6.20.0170.07320.29
5.6.10.0130.05020.37
5.6.00.0130.07320.16

preferences:
57.06 ms | 401 KiB | 5 Q