3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '== Alphabets ==' . PHP_EOL; $s = 'W'; for ($n=0; $n<6; $n++) { echo $s += 2 . PHP_EOL; }

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.0060.01316.63
8.3.50.0110.01021.14
8.3.40.0060.00918.94
8.3.30.0040.01118.80
8.3.20.0060.00320.31
8.3.10.0040.00423.53
8.3.00.0050.00221.73
8.2.180.0140.00716.50
8.2.170.0070.01422.96
8.2.160.0100.00322.25
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0040.00420.65
8.2.120.0040.00426.35
8.2.110.0040.00421.09
8.2.100.0060.00618.05
8.2.90.0040.00419.20
8.2.80.0050.00517.97
8.2.70.0030.00617.88
8.2.60.0080.00017.93
8.2.50.0000.00818.09
8.2.40.0050.00322.30
8.2.30.0040.00419.36
8.2.20.0080.00017.66
8.2.10.0040.00418.11
8.2.00.0000.00818.02
8.1.280.0110.00425.92
8.1.270.0070.00722.00
8.1.260.0050.00228.09
8.1.250.0000.00728.09
8.1.240.0180.00022.65
8.1.230.0040.00717.77
8.1.220.0030.00617.78
8.1.210.0060.00318.77
8.1.200.0030.00617.00
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0030.00718.53
8.1.160.0000.00720.62
8.1.150.0070.00020.48
8.1.140.0060.00319.42
8.1.130.0030.00317.68
8.1.120.0040.00417.30
8.1.110.0000.00717.38
8.1.100.0000.00717.27
8.1.90.0040.00417.27
8.1.80.0080.00017.38
8.1.70.0030.00317.45
8.1.60.0030.00617.51
8.1.50.0000.00717.41
8.1.40.0000.00917.43
8.1.30.0040.00417.54
8.1.20.0040.00417.57
8.1.10.0050.00217.55
8.1.00.0000.00817.41
8.0.300.0080.00018.77
8.0.290.0050.00316.58
8.0.280.0070.00018.44
8.0.270.0070.00017.24
8.0.260.0000.00717.24
8.0.250.0070.00016.95
8.0.240.0060.00316.93
8.0.230.0070.00016.96
8.0.220.0000.00816.91
8.0.210.0030.00316.77
8.0.200.0030.00316.87
8.0.190.0070.00316.99
8.0.180.0030.00516.97
8.0.170.0080.00316.91
8.0.160.0000.00716.86
8.0.150.0000.00816.89
8.0.140.0030.00416.91
8.0.130.0000.00513.25
8.0.120.0040.00416.84
8.0.110.0070.00016.86
8.0.100.0030.00416.80
8.0.90.0080.00016.90
8.0.80.0040.01116.84
8.0.70.0040.00416.73
8.0.60.0000.00816.68
8.0.50.0040.00416.81
8.0.30.0110.00717.16
8.0.20.0100.00917.40
8.0.10.0040.00417.03
8.0.00.0070.01116.67
7.4.330.0030.00316.77
7.4.320.0000.00716.44
7.4.300.0030.00316.53
7.4.290.0030.00316.55
7.4.280.0040.00316.41
7.4.270.0040.00416.45
7.4.260.0040.00416.41
7.4.250.0050.00216.39
7.4.240.0030.00316.52
7.4.230.0040.00416.60
7.4.220.0100.00716.48
7.4.210.0080.00916.51
7.4.200.0030.00516.56
7.4.160.0040.01116.37
7.4.150.0130.00517.40
7.4.140.0120.01017.86
7.4.130.0110.00916.48
7.4.120.0080.01316.49
7.4.110.0070.01416.54
7.4.100.0110.00616.61
7.4.90.0080.00816.43
7.4.80.0110.00619.39
7.4.70.0070.01016.62
7.4.60.0090.01516.40
7.4.50.0070.01016.37
7.4.40.0140.00316.49
7.4.30.0110.01116.51
7.4.00.0020.01214.83
7.3.330.0070.00013.17
7.3.320.0030.00313.25
7.3.310.0040.00416.27
7.3.300.0030.00316.27
7.3.290.0030.00316.18
7.3.280.0070.01116.29
7.3.270.0150.00317.40
7.3.260.0000.01716.46
7.3.250.0110.00716.30
7.3.240.0090.01016.36
7.3.230.0070.01116.58
7.3.210.0140.00316.34
7.3.200.0070.01119.39
7.3.190.0120.00416.47
7.3.180.0130.00316.58
7.3.170.0030.01216.33
7.3.160.0160.00016.29
7.3.120.0000.01714.79
7.3.110.0080.00814.83
7.3.100.0120.00414.76
7.3.90.0100.00315.04
7.3.80.0070.00714.99
7.3.70.0040.00814.90
7.3.60.0100.00714.93
7.3.50.0030.01414.95
7.3.40.0070.00714.90
7.3.30.0080.00614.90
7.3.20.0030.00916.76
7.3.10.0100.00316.85
7.3.00.0100.00716.79
7.2.330.0040.01516.45
7.2.320.0060.01016.65
7.2.310.0080.00816.45
7.2.300.0100.01316.73
7.2.290.0090.00916.71
7.2.250.0070.01115.29
7.2.240.0070.01314.88
7.2.230.0100.00714.93
7.2.220.0070.00714.96
7.2.210.0070.01014.54
7.2.200.0000.01115.09
7.2.190.0000.01114.83
7.2.180.0030.01015.21
7.2.170.0030.01314.89
7.2.60.0060.00916.85
7.2.00.0080.00419.09
7.1.330.0040.00915.71
7.1.320.0030.01015.78
7.1.310.0040.01115.70
7.1.300.0110.00315.70
7.1.290.0060.00615.65
7.1.280.0070.00715.51
7.1.270.0060.00615.40
7.1.260.0060.00615.86
7.1.200.0090.00315.72
7.1.100.0040.00717.73
7.1.70.0060.01617.13
7.1.60.0160.01019.40
7.1.50.0070.01416.84
7.1.00.0030.07322.30
7.0.200.0190.00616.89
7.0.60.0130.06021.80
7.0.50.0000.07717.84
7.0.40.0070.05320.07
7.0.30.0230.04320.00
7.0.20.0330.06020.17
7.0.10.0070.05320.30
7.0.00.0070.06020.00
5.6.280.0000.03320.81
5.6.210.0100.06320.74
5.6.200.0130.06318.14
5.6.190.0100.08320.61
5.6.180.0170.04320.35
5.6.170.0230.03720.52
5.6.160.0070.08020.32
5.6.150.0070.07018.15
5.6.140.0070.08018.20
5.6.130.0000.04318.21
5.6.120.0030.08721.13
5.6.110.0030.08721.00
5.6.100.0100.06720.98
5.6.90.0030.09020.97
5.6.80.0030.06320.37
5.5.350.0200.08020.46
5.5.340.0130.08017.93
5.5.330.0100.05020.22
5.5.320.0230.05020.23
5.5.310.0130.05320.29
5.5.300.0100.06718.02
5.5.290.0000.04717.91
5.5.280.0070.03720.73
5.5.270.0130.05020.78
5.5.260.0130.07320.63
5.5.250.0070.07320.57
5.5.240.0130.05720.15

preferences:
54.01 ms | 401 KiB | 5 Q