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; }); 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.0110.01116.63
8.3.50.0140.00521.14
8.3.40.0120.00318.51
8.3.30.0120.00318.67
8.3.20.0060.00318.64
8.3.10.0050.00321.90
8.3.00.0080.00021.90
8.2.180.0120.00318.54
8.2.170.0140.00722.96
8.2.160.0140.00022.09
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00319.82
8.2.120.0030.00326.35
8.2.110.0030.00622.28
8.2.100.0000.01217.69
8.2.90.0040.00418.91
8.2.80.0000.00918.16
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0080.00018.10
8.2.40.0040.00420.46
8.2.30.0070.00019.22
8.2.20.0000.00717.94
8.2.10.0000.00718.10
8.2.00.0020.00517.87
8.1.280.0090.00625.92
8.1.270.0040.00422.14
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0030.00623.92
8.1.230.0070.00420.29
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0030.00617.36
8.1.190.0000.00917.23
8.1.180.0070.00018.10
8.1.170.0000.00818.82
8.1.160.0030.00322.02
8.1.150.0070.00020.20
8.1.140.0040.00419.63
8.1.130.0000.00717.61
8.1.120.0030.00317.49
8.1.110.0030.00517.48
8.1.100.0070.00017.35
8.1.90.0050.00217.46
8.1.80.0030.00317.45
8.1.70.0030.00517.43
8.1.60.0050.00317.46
8.1.50.0040.00417.51
8.1.40.0080.00017.52
8.1.30.0000.00817.51
8.1.20.0040.00417.54
8.1.10.0090.00317.49
8.1.00.0070.00017.45
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0050.00218.25
8.0.270.0040.00417.23
8.0.260.0030.00317.19
8.0.250.0000.00716.83
8.0.240.0070.00016.96
8.0.230.0090.00316.61
8.0.220.0040.00416.91
8.0.210.0090.00016.93
8.0.200.0050.00216.95
8.0.190.0030.00616.91
8.0.180.0050.00316.86
8.0.170.0000.00716.90
8.0.160.0050.00217.03
8.0.150.0070.00016.88
8.0.140.0030.00316.78
8.0.130.0050.00013.33
8.0.120.0000.00816.88
8.0.110.0080.00017.01
8.0.100.0040.00417.01
8.0.90.0040.00416.94
8.0.80.0040.01116.92
8.0.70.0000.00916.89
8.0.60.0040.00416.93
8.0.50.0000.00716.75
8.0.30.0070.01117.11
8.0.20.0080.01317.40
8.0.10.0020.00516.96
8.0.00.0110.00816.78
7.4.330.0060.00015.55
7.4.320.0030.00316.40
7.4.300.0000.00616.51
7.4.290.0030.00616.49
7.4.280.0050.00316.40
7.4.270.0070.00016.47
7.4.260.0040.00416.57
7.4.250.0050.00216.56
7.4.240.0040.00416.62
7.4.230.0000.00716.60
7.4.220.0130.00616.59
7.4.210.0120.00916.52
7.4.200.0000.00716.60
7.4.160.0050.01416.40
7.4.150.0150.00817.40
7.4.140.0080.00917.86
7.4.130.0080.01016.55
7.4.120.0080.01116.33
7.4.110.0130.00616.36
7.4.100.0090.00816.47
7.4.90.0090.01216.25
7.4.80.0030.01419.39
7.4.70.0160.00016.44
7.4.60.0060.01016.37
7.4.50.0070.00716.48
7.4.40.0030.01516.60
7.4.30.0130.00316.50
7.4.00.0100.00314.95
7.3.330.0000.00513.40
7.3.320.0020.00213.26
7.3.310.0030.00316.20
7.3.300.0030.00316.29
7.3.290.0070.01016.30
7.3.280.0090.01016.29
7.3.270.0100.01017.40
7.3.260.0100.00616.26
7.3.250.0060.01216.46
7.3.240.0120.00616.46
7.3.230.0060.01016.45
7.3.210.0070.01116.18
7.3.200.0060.01316.23
7.3.190.0030.01316.30
7.3.180.0060.01016.20
7.3.170.0030.01516.30
7.3.160.0040.01416.27
7.2.330.0110.00616.73
7.2.320.0100.00716.54
7.2.310.0030.01816.72
7.2.300.0090.00916.59
7.2.290.0080.00816.68
7.2.60.0130.00316.78
7.2.50.0080.00416.84
7.2.00.0030.01019.22
7.1.200.0030.00915.42
7.1.70.0080.00017.23
7.1.60.0070.00317.01
7.1.00.0030.07722.44
7.0.200.0310.00314.87
7.0.120.0000.06021.99
7.0.110.0100.05722.07
7.0.100.0270.07322.03
7.0.90.0170.08022.06
7.0.80.0070.05322.11
7.0.70.0070.06022.13
7.0.60.0030.07722.11
7.0.50.0100.06722.10
7.0.40.0130.05722.17
7.0.30.0030.05722.11
7.0.20.0100.06022.06
7.0.10.0130.05022.14
7.0.00.0030.05722.14
5.6.270.0100.05321.09
5.6.260.0000.06021.05
5.6.250.0070.06320.88
5.6.240.0130.05320.84
5.6.230.0030.06021.09
5.6.220.0130.06321.02
5.6.210.0070.07720.92
5.6.200.0070.06021.01
5.6.190.0200.05321.04
5.6.180.0070.05720.81
5.6.170.0100.07020.95
5.6.160.0030.05720.75
5.6.150.0070.05721.00
5.6.140.0100.06020.80
5.6.130.0100.06320.85
5.6.120.0000.06320.83
5.6.110.0030.06020.93
5.6.100.0030.06020.82
5.6.90.0170.05020.79
5.6.80.0000.06020.31
5.6.70.0000.06020.13
5.6.60.0170.06020.30
5.6.50.0300.06320.45
5.6.40.0170.05020.20
5.6.30.0170.06720.29
5.6.20.0030.06020.38
5.6.10.0100.05320.21
5.6.00.0030.06020.18

preferences:
58.55 ms | 401 KiB | 5 Q