3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); $contributors = ['rod', 'elias']; $results = array_walk($contributors, function(string $contributor) : string { return sprintf("%s, thank you very much for PHP7!", $contributor); }); echo implode("\n", $results);

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.40.0080.00818.84
8.3.30.0140.00018.68
8.3.20.0050.00220.16
8.3.10.0040.00423.50
8.3.00.0080.00019.97
8.2.170.0140.00022.96
8.2.160.0070.00720.38
8.2.150.0030.00524.18
8.2.140.0090.00024.66
8.2.130.0040.00420.82
8.2.120.0080.00026.35
8.2.110.0040.00420.35
8.2.100.0090.00317.93
8.2.90.0090.00019.27
8.2.80.0090.00017.97
8.2.70.0040.00417.50
8.2.60.0000.00818.05
8.2.50.0080.00018.07
8.2.40.0000.00822.28
8.2.30.0000.00720.50
8.2.20.0000.00717.82
8.2.10.0050.00218.11
8.2.00.0070.00018.19
8.1.270.0070.01320.36
8.1.260.0070.00028.09
8.1.250.0030.00628.09
8.1.240.0080.00022.10
8.1.230.0060.00617.47
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0100.00017.23
8.1.190.0060.00317.35
8.1.180.0050.00318.10
8.1.170.0000.01018.34
8.1.160.0000.00720.75
8.1.150.0000.00718.86
8.1.140.0040.00419.58
8.1.130.0000.00717.38
8.1.120.0070.00017.31
8.1.110.0040.00417.30
8.1.100.0000.00817.52
8.1.90.0040.00417.39
8.1.80.0070.00317.47
8.1.70.0000.00717.47
8.1.60.0060.00317.56
8.1.50.0000.00817.56
8.1.40.0080.00017.53
8.1.30.0000.00817.53
8.1.20.0000.00717.64
8.1.10.0000.00717.56
8.1.00.0000.00717.49
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.35
8.0.270.0060.00317.11
8.0.260.0030.00316.74
8.0.250.0030.00316.84
8.0.240.0040.00416.95
8.0.230.0080.00016.87
8.0.220.0060.00416.79
8.0.210.0070.00016.77
8.0.200.0000.00616.93
8.0.190.0070.00016.98
8.0.180.0040.00417.04
8.0.170.0040.00416.96
8.0.160.0000.00716.83
8.0.150.0000.00716.86
8.0.140.0040.00416.82
8.0.130.0000.00513.35
8.0.120.0000.00916.76
8.0.110.0040.00416.82
8.0.100.0000.00716.87
8.0.90.0000.00716.79
8.0.80.0150.00416.95
8.0.70.0000.00717.02
8.0.60.0040.00416.81
8.0.50.0030.00516.98
8.0.30.0100.00817.01
8.0.20.0130.00617.40
8.0.10.0040.00416.96
8.0.00.0100.00916.78
7.4.330.0000.00516.69
7.4.320.0070.00016.63
7.4.300.0000.00616.55
7.4.290.0070.00016.49
7.4.280.0090.00016.35
7.4.270.0030.00316.41
7.4.260.0000.00716.54
7.4.250.0040.00416.39
7.4.240.0050.00216.40
7.4.230.0030.00316.70
7.4.220.0100.01016.52
7.4.210.0090.00616.40
7.4.200.0070.00016.51
7.4.160.0110.01116.54
7.4.150.0120.01217.40
7.4.140.0080.01217.86
7.4.130.0090.01216.50
7.4.120.0100.01116.56
7.4.110.0090.01216.37
7.4.100.0090.01216.56
7.4.90.0130.00916.55
7.4.80.0110.01119.39
7.4.70.0070.00716.70
7.4.60.0070.01016.67
7.4.50.0030.01016.57
7.4.40.0090.01316.52
7.4.30.0090.01216.69
7.4.00.0020.01314.96
7.3.330.0070.00013.23
7.3.320.0000.00513.47
7.3.310.0000.00816.41
7.3.300.0000.00716.24
7.3.290.0050.00716.34
7.3.280.0070.00916.37
7.3.270.0090.00917.40
7.3.260.0100.00716.46
7.3.250.0120.00616.49
7.3.240.0060.01016.62
7.3.230.0100.00616.48
7.3.210.0120.00616.29
7.3.200.0130.00916.20
7.3.190.0070.01016.30
7.3.180.0060.00916.53
7.3.170.0110.00516.53
7.3.160.0070.01016.32
7.3.120.0000.01814.84
7.3.110.0040.01514.78
7.3.100.0080.00814.92
7.3.90.0070.00714.96
7.3.80.0110.00414.79
7.3.70.0040.00814.73
7.3.60.0090.00614.94
7.3.50.0090.00614.78
7.3.40.0000.01314.93
7.3.30.0060.00914.88
7.3.20.0090.00616.64
7.3.10.0070.00416.71
7.3.00.0030.01016.84
7.2.330.0090.00916.59
7.2.320.0110.00716.52
7.2.310.0070.01016.76
7.2.300.0100.00716.40
7.2.290.0120.00916.70
7.2.250.0100.01014.99
7.2.240.0060.01015.16
7.2.230.0100.01014.95
7.2.220.0030.00615.18
7.2.210.0040.01214.62
7.2.200.0000.01514.86
7.2.190.0060.00914.91
7.2.180.0000.00915.02
7.2.170.0070.00715.06
7.2.60.0110.00316.97
7.2.00.0030.00719.17
7.1.330.0030.01015.61
7.1.320.0100.00715.83
7.1.310.0040.01115.80
7.1.300.0030.00615.46
7.1.290.0070.00315.78
7.1.280.0070.01015.61
7.1.270.0000.01515.55
7.1.260.0070.00715.59
7.1.200.0040.00815.67
7.1.100.0000.01117.90
7.1.70.0040.00417.07
7.1.60.0110.01419.05
7.1.50.0090.01616.90
7.1.00.0000.07722.36
7.0.200.0230.00314.81
7.0.60.0100.07720.02
7.0.50.0000.07317.95
7.0.40.0130.04720.27
7.0.30.0200.03720.09
7.0.20.0100.04720.24
7.0.10.0070.09020.24
7.0.00.0030.09320.14
5.6.280.0000.07321.13
5.6.210.0230.06720.69
5.6.200.0070.05018.15
5.6.190.0000.09020.41
5.6.180.0200.04020.55
5.6.170.0300.07720.50
5.6.160.0100.08020.39
5.6.150.0070.04018.19
5.6.140.0030.06318.18
5.6.130.0100.05718.18
5.6.120.0030.06321.02
5.6.110.0030.06321.14
5.6.100.0100.06721.03
5.6.90.0030.05021.01
5.6.80.0100.05020.54
5.5.350.0200.07720.45
5.5.340.0130.04017.97
5.5.330.0170.07720.41
5.5.320.0300.07720.31
5.5.310.0330.07720.25
5.5.300.0070.08318.14
5.5.290.0070.07718.00
5.5.280.0070.08320.88
5.5.270.0100.08320.82
5.5.260.0000.04320.76
5.5.250.0100.07320.55
5.5.240.0200.07320.35

preferences:
52.18 ms | 400 KiB | 5 Q