3v4l.org

run code in 300+ PHP versions simultaneously
<?php while ($n < 6){ $sub = 'sub'.(string)$n; echo $sub; }

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.0160.01218.43
8.3.50.0240.00621.98
8.3.40.0130.01718.81
8.3.30.0220.00718.88
8.3.20.0080.00320.18
8.3.10.0060.00321.97
8.3.00.0100.00522.39
8.2.180.0290.00816.75
8.2.170.0210.01222.96
8.2.160.0170.00920.89
8.2.150.0150.00024.18
8.2.140.0030.00724.66
8.2.130.0130.00326.16
8.2.120.0100.00517.75
8.2.110.0120.00422.25
8.2.100.0190.00017.72
8.2.90.0000.00819.22
8.2.80.0050.00317.97
8.2.70.0070.00717.63
8.2.60.0000.00818.05
8.2.50.0100.00018.07
8.2.40.0060.00318.28
8.2.30.0050.00518.01
8.2.20.0090.00317.84
8.2.10.0000.00817.93
8.2.00.0040.00417.78
8.1.280.0160.00025.92
8.1.270.0140.00023.85
8.1.260.0080.00826.35
8.1.250.0190.00428.09
8.1.240.0080.00823.76
8.1.230.0150.00018.96
8.1.220.0000.00817.79
8.1.210.0110.00018.77
8.1.200.0070.00717.35
8.1.190.0060.00317.38
8.1.180.0080.00818.10
8.1.170.0120.00018.40
8.1.160.0040.00822.11
8.1.150.0080.00418.60
8.1.140.0050.00517.41
8.1.130.0030.00617.99
8.1.120.0030.00617.57
8.1.110.0060.00617.38
8.1.100.0040.00417.50
8.1.90.0030.00617.39
8.1.80.0000.00917.52
8.1.70.0070.00417.40
8.1.60.0030.01017.52
8.1.50.0120.00017.54
8.1.40.0050.00517.58
8.1.30.0050.00517.53
8.1.20.0060.00317.55
8.1.10.0080.00017.57
8.1.00.0050.00517.48
8.0.300.0080.00418.77
8.0.290.0040.00716.93
8.0.280.0000.01018.43
8.0.270.0050.00317.11
8.0.260.0000.01018.62
8.0.250.0070.00016.76
8.0.240.0040.00416.97
8.0.230.0080.00316.92
8.0.220.0030.00516.86
8.0.210.0110.00016.84
8.0.200.0050.00216.74
8.0.190.0100.00016.77
8.0.180.0050.00316.96
8.0.170.0030.00816.96
8.0.160.0000.00916.88
8.0.150.0050.00516.83
8.0.140.0080.00016.83
8.0.130.0060.00613.40
8.0.120.0000.01016.86
8.0.110.0100.00016.80
8.0.100.0000.00816.87
8.0.90.0060.00616.82
8.0.80.0270.01216.86
8.0.70.0060.00316.85
8.0.60.0040.00416.66
8.0.50.0030.00616.72
8.0.30.0300.01517.11
8.0.20.0280.02017.40
8.0.10.0080.00316.97
8.0.00.0270.01416.75
7.4.330.0000.00815.20
7.4.320.0000.00916.37
7.4.300.0030.00716.36
7.4.290.0060.00316.36
7.4.280.0000.00916.43
7.4.270.0060.00616.46
7.4.260.0040.00816.28
7.4.250.0040.00416.25
7.4.240.0070.00316.39
7.4.230.0040.00416.56
7.4.220.0160.02316.41
7.4.210.0100.01616.48
7.4.200.0050.00516.28
7.4.190.0030.00716.52
7.4.160.0290.01116.52
7.4.150.0160.01017.40
7.4.140.0190.01617.86
7.4.130.0150.01316.57
7.4.120.0280.00916.48
7.4.110.0220.01216.25
7.4.100.0450.00416.49
7.4.90.0310.01916.50
7.4.80.0110.02216.35
7.4.70.0280.01316.38
7.4.60.0190.01316.36
7.4.50.0140.00316.54
7.4.40.0160.01622.77
7.4.30.0310.01016.24
7.4.00.0090.00615.08
7.3.330.0140.00013.22
7.3.320.0040.01113.25
7.3.310.0030.00516.22
7.3.300.0100.00016.31
7.3.290.0150.02016.19
7.3.280.0180.01916.17
7.3.270.0260.00917.40
7.3.260.0270.01916.21
7.3.250.0220.01216.28
7.3.240.0160.01616.45
7.3.230.0250.01316.39
7.3.210.0220.02616.23
7.3.200.0210.02119.39
7.3.190.0280.01616.46
7.3.180.0220.01116.18
7.3.170.0250.00416.30
7.3.160.0210.00916.21
7.3.120.0140.00314.64
7.2.330.0220.01816.71
7.2.320.0270.01216.46
7.2.310.0140.01516.22
7.2.300.0190.00316.71
7.2.290.0280.01416.47
7.2.00.0030.00919.12
7.1.200.0100.00715.79
7.1.100.1020.00415.73
7.1.70.0030.00717.13
7.1.60.0130.01319.82
7.1.50.0040.01417.05
7.0.200.0090.00316.74

preferences:
33.87 ms | 401 KiB | 5 Q