3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 0; while (x < 1000) print $x."<br/>";

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.00916.61
8.3.50.0100.00722.83
8.3.40.0070.01018.97
8.3.30.0080.00519.07
8.3.20.0040.00420.34
8.3.10.0050.00323.71
8.3.00.0080.00019.38
8.2.180.0170.00018.54
8.2.170.0040.01122.96
8.2.160.0070.00720.39
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0020.00520.91
8.2.110.0000.00820.47
8.2.100.0070.00418.16
8.2.90.0000.00719.21
8.2.80.0040.00417.97
8.2.70.0080.00417.63
8.2.60.0050.00318.05
8.2.50.0000.00818.07
8.2.40.0080.00018.16
8.2.30.0050.00219.52
8.2.20.0040.00417.63
8.2.10.0050.00218.11
8.2.00.0000.00817.87
8.1.280.0080.00825.92
8.1.270.0040.00423.68
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.81
8.1.230.0040.00719.00
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0000.00918.64
8.1.160.0050.00322.05
8.1.150.0070.00418.89
8.1.140.0000.00717.32
8.1.130.0030.00317.68
8.1.120.0000.00717.46
8.1.110.0070.00017.46
8.1.100.0000.00817.46
8.1.90.0070.00017.36
8.1.80.0000.00817.34
8.1.70.0000.00617.42
8.1.60.0040.00417.53
8.1.50.0000.00917.49
8.1.40.0050.00217.39
8.1.30.0090.00017.59
8.1.20.0040.00417.66
8.1.10.0000.00717.45
8.1.00.0000.00717.36
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0040.00418.34
8.0.270.0030.00317.13
8.0.260.0050.00317.19
8.0.250.0000.00716.95
8.0.240.0000.00716.99
8.0.230.0000.00717.00
8.0.220.0060.00316.84
8.0.210.0030.00316.82
8.0.200.0030.00517.00
8.0.190.0000.00916.99
8.0.180.0030.00317.00
8.0.170.0040.00416.84
8.0.160.0080.00016.84
8.0.150.0030.00316.95
8.0.140.0080.00016.76
8.0.130.0060.00313.40
8.0.120.0080.00016.84
8.0.110.0000.00816.86
8.0.100.0030.00316.84
8.0.90.0000.00716.82
8.0.80.0080.00816.88
8.0.70.0000.00716.95
8.0.60.0040.00416.77
8.0.50.0000.00716.87
8.0.30.0080.01017.11
8.0.20.0120.00817.40
8.0.10.0070.00017.05
8.0.00.0050.01216.73
7.4.330.0000.00615.08
7.4.320.0030.00516.40
7.4.300.0060.00316.39
7.4.290.0000.00716.45
7.4.280.0050.00316.42
7.4.270.0000.00716.33
7.4.260.0050.00516.35
7.4.250.0040.00416.25
7.4.240.0090.00016.35
7.4.230.0000.00816.37
7.4.220.0150.01816.41
7.4.210.0130.00616.34
7.4.200.0030.00516.13
7.4.160.0150.01516.32
7.4.150.0100.01917.40
7.4.140.0200.01117.86
7.4.130.0180.01016.51
7.4.120.0130.01216.50
7.4.110.0190.01116.48
7.4.100.0110.01616.52
7.4.90.0180.01316.36
7.4.80.0080.02419.39
7.4.70.0130.00916.63
7.4.60.0180.00016.49
7.4.50.0100.00016.21
7.4.40.0160.01216.37
7.4.30.0000.02716.52
7.4.00.0070.00714.53
7.3.330.0030.00513.13
7.3.320.0000.00713.16
7.3.310.0000.00816.23
7.3.300.0000.00816.29
7.3.290.0120.00616.20
7.3.280.0120.00716.22
7.3.270.0130.00917.40
7.3.260.0180.00916.17
7.3.250.0150.01116.20
7.3.240.0200.01216.27
7.3.230.0320.00416.42
7.3.210.0120.01616.48
7.3.200.0100.01619.39
7.3.190.0260.00716.41
7.3.180.0260.00716.28
7.3.170.0190.01516.29
7.3.160.0080.01616.18
7.2.330.0070.02216.32
7.2.320.0190.01716.63
7.2.310.0150.01116.69
7.2.300.0150.00916.25
7.2.290.0190.01616.57
7.2.60.0070.00716.75
7.2.00.0030.01019.05
7.1.200.0100.00715.52
7.1.100.0000.01318.14
7.1.70.0200.00716.93
7.1.60.0070.01919.46
7.1.50.0110.01117.04
7.0.200.0220.00416.63

preferences:
34.44 ms | 401 KiB | 5 Q