3v4l.org

run code in 300+ PHP versions simultaneously
<?php $heading = 'h2'; while (true) { echo ++$heading; }

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.0200.01718.43
8.3.50.0330.01619.82
8.3.40.0370.01018.67
8.3.30.0430.00318.91
8.3.20.0220.00920.15
8.3.10.0070.01421.79
8.3.00.0160.00319.25
8.2.180.0300.01316.32
8.2.170.0410.01422.96
8.2.160.0480.00620.22
8.2.150.0340.00324.18
8.2.140.0220.00024.66
8.2.130.0150.00726.16
8.2.120.0190.01121.04
8.2.110.0270.00321.98
8.2.100.0230.00718.03
8.2.90.0110.00419.05
8.2.80.0140.00017.97
8.2.70.0070.01017.49
8.2.60.0070.00718.04
8.2.50.0100.00318.07
8.2.40.0120.00318.09
8.2.30.0170.00318.19
8.2.20.0070.00717.75
8.2.10.0100.00718.13
8.2.00.0090.00617.82
8.1.270.0260.01623.67
8.1.260.0280.01026.35
8.1.250.0170.00328.09
8.1.240.0210.00723.69
8.1.230.0260.00719.03
8.1.220.0040.01217.74
8.1.210.0070.00718.77
8.1.200.0110.00717.10
8.1.190.0110.00417.10
8.1.180.0100.00318.10
8.1.170.0070.00718.39
8.1.160.0070.00721.94
8.1.150.0060.00918.87
8.1.140.0070.00717.45
8.1.130.0100.00317.81
8.1.120.0100.00317.35
8.1.110.0140.00017.43
8.1.100.0100.00317.44
8.1.90.0130.00017.41
8.1.80.0100.00317.33
8.1.70.0130.00017.37
8.1.60.0110.00417.41
8.1.50.0070.00717.55
8.1.40.0090.00617.52
8.1.30.0030.01317.64
8.1.20.0070.00717.46
8.1.10.0090.00617.52
8.1.00.0070.00717.47
8.0.300.0030.01018.77
8.0.290.0070.00716.63
8.0.280.0070.00718.29
8.0.270.0030.01017.11
8.0.260.0110.00317.15
8.0.250.0060.00616.86
8.0.240.0040.01216.86
8.0.230.0090.00616.84
8.0.220.0070.00716.71
8.0.210.0100.00316.66
8.0.200.0030.01016.83
8.0.190.0130.00316.89
8.0.180.0140.00316.82
8.0.170.0140.00016.70
8.0.160.0090.00616.88
8.0.150.0070.00716.72
8.0.140.0140.00016.75
8.0.130.0030.00913.27
8.0.120.0040.01116.81
8.0.110.0160.00016.75
8.0.100.0120.00316.86
8.0.90.0030.01016.65
8.0.80.0240.02416.81
8.0.70.0070.00716.70
8.0.60.0140.00016.58
8.0.50.0060.00916.57
8.0.30.0800.02917.00
8.0.20.0540.03817.40
8.0.10.0030.01016.81
8.0.00.0680.02916.59
7.4.330.0110.00015.00
7.4.320.0070.00716.36
7.4.300.0110.00416.23
7.4.290.0070.00716.33
7.4.280.0070.00716.33
7.4.270.0130.00016.42
7.4.260.0130.00016.21
7.4.250.0140.00016.24
7.4.240.0140.00216.36
7.4.230.0000.01416.41
7.4.220.0210.03416.27
7.4.210.0310.03416.49
7.4.200.0130.00016.43
7.4.160.0360.02916.23
7.4.150.0690.03817.40
7.4.140.0600.02917.86
7.4.130.0730.02716.42
7.4.120.0770.04016.30
7.4.110.0440.02516.27
7.4.100.0700.02316.50
7.4.90.0650.04216.45
7.4.80.0580.03519.39
7.4.70.1080.07216.40
7.4.60.0490.03116.25
7.4.50.0090.00316.38
7.4.40.0350.02716.55
7.4.30.0400.04816.24
7.4.00.0130.01714.92
7.3.330.0090.00613.19
7.3.320.0150.00013.00
7.3.310.0070.01016.20
7.3.300.0030.00916.12
7.3.290.0270.02316.19
7.3.280.0230.03016.18
7.3.270.0680.03917.40
7.3.260.0920.03516.30
7.3.250.0520.03116.28
7.3.240.0610.04616.12
7.3.230.0390.05316.39
7.3.210.1080.04716.10
7.3.200.0680.04319.39
7.3.190.0530.05016.44
7.3.180.0880.04516.08
7.3.170.0410.04216.27
7.3.160.0540.02816.24
7.2.330.0400.02316.37
7.2.320.0740.03916.65
7.2.310.0480.04216.24
7.2.300.0690.04616.25
7.2.290.0380.02516.60
7.2.00.0150.02319.26
7.1.200.0210.00915.53
7.1.100.0070.01417.91
7.1.70.0140.01016.82
7.1.60.0250.01619.40
7.1.50.0350.01316.76
7.0.200.0110.00716.91

preferences:
46.6 ms | 400 KiB | 5 Q