3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numbers = array(1,2,3,4,5,6); array_walk($numbers, function (&$n) { return $n + 10; }, $numbers); var_dump($numbers);

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.0130.00616.75
8.3.50.0140.00621.07
8.3.40.0040.01118.54
8.3.30.0140.00018.73
8.3.20.0040.00418.83
8.3.10.0000.00821.73
8.3.00.0000.00721.73
8.2.180.0080.00816.38
8.2.170.0040.01122.96
8.2.160.0070.01022.14
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00819.82
8.2.120.0070.00026.35
8.2.110.0000.00922.16
8.2.100.0110.00017.72
8.2.90.0040.00418.34
8.2.80.0040.00417.97
8.2.70.0000.00917.50
8.2.60.0000.00817.93
8.2.50.0000.00818.10
8.2.40.0040.00420.56
8.2.30.0030.00619.25
8.2.20.0000.00717.99
8.2.10.0040.00418.06
8.2.00.0070.00017.87
8.1.280.0070.00725.92
8.1.270.0080.00022.14
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0000.00923.79
8.1.230.0110.00022.65
8.1.220.0040.00417.77
8.1.210.0030.00618.77
8.1.200.0030.00617.36
8.1.190.0080.00017.22
8.1.180.0030.00518.10
8.1.170.0050.00318.75
8.1.160.0040.00422.14
8.1.150.0070.00020.27
8.1.140.0030.00519.54
8.1.130.0000.00817.61
8.1.120.0030.00317.49
8.1.110.0020.00517.36
8.1.100.0070.00017.49
8.1.90.0000.00817.50
8.1.80.0000.00717.34
8.1.70.0030.00617.45
8.1.60.0050.00317.60
8.1.50.0030.00617.56
8.1.40.0080.00017.42
8.1.30.0040.00417.54
8.1.20.0000.00717.60
8.1.10.0000.01117.49
8.1.00.0050.00317.44
8.0.300.0000.00820.21
8.0.290.0040.00416.63
8.0.280.0030.00318.36
8.0.270.0030.00617.06
8.0.260.0030.00317.25
8.0.250.0000.00716.91
8.0.240.0030.00316.83
8.0.230.0030.00516.86
8.0.220.0000.00716.88
8.0.210.0040.00416.76
8.0.200.0070.00017.06
8.0.190.0000.00816.90
8.0.180.0040.00716.95
8.0.170.0040.00416.90
8.0.160.0040.00416.84
8.0.150.0040.00416.84
8.0.140.0040.00416.84
8.0.130.0030.00313.36
8.0.120.0050.00316.84
8.0.110.0070.00016.98
8.0.100.0050.00216.93
8.0.90.0040.00417.01
8.0.80.0120.00916.93
8.0.70.0040.00516.83
8.0.60.0000.00716.86
8.0.50.0040.00416.77
8.0.30.0100.00817.16
8.0.20.0070.01817.40
8.0.10.0020.00517.10
8.0.00.0040.01416.72
7.4.330.0050.00015.55
7.4.320.0030.00316.54
7.4.300.0000.00616.51
7.4.290.0000.00916.62
7.4.280.0040.00416.63
7.4.270.0030.00316.50
7.4.260.0000.00716.57
7.4.250.0000.00816.58
7.4.240.0050.00316.49
7.4.230.0030.00316.34
7.4.220.0060.01016.64
7.4.210.0140.00716.45
7.4.200.0070.00016.34
7.4.160.0080.01116.44
7.4.150.0060.01217.40
7.4.140.0080.01317.86
7.4.130.0100.00616.47
7.4.120.0110.00716.50
7.4.110.0130.00916.41
7.4.100.0120.00916.57
7.4.90.0110.00816.51
7.4.80.0060.01719.39
7.4.70.0040.01316.39
7.4.60.0100.00716.37
7.4.50.0070.00316.66
7.4.40.0150.00316.29
7.4.30.0090.00916.47
7.4.00.0060.00914.88
7.3.330.0000.00513.29
7.3.320.0050.00013.32
7.3.310.0000.00716.15
7.3.300.0050.00216.25
7.3.290.0070.00816.31
7.3.280.0100.00816.31
7.3.270.0130.00717.40
7.3.260.0090.00716.34
7.3.250.0090.00716.26
7.3.240.0150.00616.35
7.3.230.0120.00916.39
7.3.210.0060.01116.57
7.3.200.0130.01016.27
7.3.190.0130.01016.34
7.3.180.0070.01016.60
7.3.170.0060.01316.52
7.3.160.0030.01516.40
7.2.330.0070.01016.51
7.2.320.0050.01116.46
7.2.310.0110.01116.42
7.2.300.0190.00316.44
7.2.290.0100.00616.54
7.2.00.0220.01119.32
7.1.70.0000.00717.22
7.1.60.0000.01217.01
7.1.00.0000.08022.36
7.0.200.0220.00414.73
7.0.120.0030.06022.13
7.0.110.0070.07322.00
7.0.100.0200.07322.13
7.0.90.0200.05722.14
7.0.80.0100.07722.05
7.0.70.0030.06322.11
7.0.60.0130.06022.11
7.0.50.0000.08722.13
7.0.40.0070.05322.12
7.0.30.0030.06022.07
7.0.20.0130.05722.11
7.0.10.0030.06322.14
7.0.00.0100.05722.09
5.6.270.0030.07320.89
5.6.260.0100.05021.04
5.6.250.0130.05021.11
5.6.240.0070.09020.88
5.6.230.0100.05720.80
5.6.220.0030.07320.86
5.6.210.0130.07320.97
5.6.200.0170.05720.95
5.6.190.0130.05720.87
5.6.180.0030.06320.95
5.6.170.0200.04720.85
5.6.160.0100.06020.84
5.6.150.0030.06721.00
5.6.140.0130.05320.89
5.6.130.0100.08321.00
5.6.120.0130.06320.87
5.6.110.0070.06020.82
5.6.100.0030.06720.82
5.6.90.0100.06320.79
5.6.80.0100.05720.39
5.6.70.0130.05020.46
5.6.60.0070.06020.32
5.6.50.0030.06020.39
5.6.40.0070.05720.38
5.6.30.0100.05320.40
5.6.20.0070.07020.38
5.6.10.0200.06020.39
5.6.00.0170.05020.14

preferences:
74.08 ms | 401 KiB | 5 Q