3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array_fill(0, 14, ['amount_paid' => 2050.00]); var_export( array_map( fn($set) => array_sum(array_column($set, 'amount_paid')), array_chunk($array, 10) ) );

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.5.10.0080.00920.21
8.5.00.0090.01120.01
8.4.150.0020.00014.05
8.4.140.0100.01517.38
8.4.130.0140.00617.55
8.4.120.0140.00620.81
8.4.110.0090.01124.40
8.4.100.0080.00217.40
8.4.90.0120.00817.81
8.4.80.0110.00817.91
8.4.70.0110.00919.13
8.4.60.0120.00919.09
8.4.50.0140.00825.79
8.4.40.0070.01319.32
8.4.30.0110.00818.48
8.4.20.0100.01025.54
8.4.10.0060.00323.92
8.3.280.0140.00618.35
8.3.270.0120.00716.52
8.3.260.0100.00816.64
8.3.250.0110.00618.73
8.3.240.0140.00516.48
8.3.230.0120.00916.55
8.3.220.0050.00317.28
8.3.210.0110.00718.33
8.3.200.0060.00216.31
8.3.190.0090.00517.10
8.3.180.0110.00416.50
8.3.170.0150.00317.29
8.3.160.0100.00718.30
8.3.150.0060.00316.37
8.3.140.0080.00018.80
8.3.130.0040.00416.43
8.3.120.0060.00320.59
8.3.110.0040.01120.94
8.3.100.0090.00024.06
8.3.90.0050.00326.77
8.3.80.0030.00618.43
8.3.70.0040.01116.50
8.3.60.0150.00616.50
8.3.50.0140.00718.48
8.3.40.0080.00620.38
8.3.30.0110.00718.59
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.290.0120.00718.78
8.2.280.0080.00418.27
8.2.270.0090.00917.15
8.2.260.0080.00018.47
8.2.250.0050.00316.69
8.2.240.0060.00317.27
8.2.230.0160.00322.58
8.2.220.0040.00437.54
8.2.210.0070.00026.77
8.2.200.0040.00418.16
8.2.190.0210.00018.41
8.2.180.0100.01016.75
8.2.170.0100.01018.79
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00019.76
8.2.110.0030.00720.99
8.2.100.0090.00317.78
8.2.90.0030.00519.34
8.2.80.0080.00017.97
8.2.70.0040.00417.93
8.2.60.0080.00018.22
8.2.50.0030.00518.07
8.2.40.0030.00619.91
8.2.30.0060.00318.07
8.2.20.0000.00819.31
8.2.10.0000.00817.92
8.2.00.0000.01317.69
8.1.330.0090.01116.20
8.1.320.0120.00916.11
8.1.310.0040.00418.18
8.1.300.0060.00320.16
8.1.290.0090.00330.84
8.1.280.0110.00325.92
8.1.270.0080.00024.66
8.1.260.0070.00726.35
8.1.250.0040.00428.09
8.1.240.0070.00323.96
8.1.230.0030.00922.73
8.1.220.0040.00417.74
8.1.210.0110.00018.77
8.1.200.0030.00617.48
8.1.190.0040.00417.23
8.1.180.0030.00718.10
8.1.170.0030.00518.50
8.1.160.0050.00318.91
8.1.150.0030.00518.68
8.1.140.0000.00819.54
8.1.130.0000.01517.46
8.1.120.0100.00717.41
8.1.110.0080.00817.50
8.1.100.0120.00317.56
8.1.90.0090.00417.58
8.1.80.0120.00317.52
8.1.70.0120.00317.54
8.1.60.0130.00517.70
8.1.50.0140.00317.50
8.1.40.0150.00417.57
8.1.30.0090.00417.61
8.1.20.0000.01917.66
8.1.10.0060.01117.50
8.1.00.0030.01317.41
8.0.300.0000.00719.64
8.0.290.0030.00516.75
8.0.280.0000.00718.39
8.0.270.0130.00216.95
8.0.260.0120.00316.95
8.0.250.0110.00416.95
8.0.240.0070.01016.95
8.0.230.0100.00516.95
8.0.220.0090.00916.95
8.0.210.0140.00316.95
8.0.200.0210.00216.95
8.0.190.0080.00816.95
8.0.180.0000.01616.95
8.0.170.0050.01016.95
8.0.160.0120.00316.95
8.0.150.0090.00516.95
8.0.140.0140.00016.95
8.0.130.0100.00316.95
8.0.120.0110.00016.95
8.0.110.0060.00316.95
8.0.100.0070.00216.95
8.0.90.0030.00616.95
8.0.80.0040.00616.95
8.0.70.0000.00916.95
8.0.60.0050.00516.95
8.0.50.0050.00516.95
8.0.30.0030.00616.95
8.0.20.0070.00216.95
8.0.10.0070.00316.95

preferences:
36.5 ms | 403 KiB | 5 Q