3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 10; while($i --> 0) { echo $i . "\n"; }

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.5.10.0100.00816.64
8.5.00.0150.00819.83
8.4.150.0030.00014.05
8.4.140.0120.00917.59
8.4.130.0090.00317.80
8.4.120.0090.00820.41
8.4.110.0100.00722.51
8.4.100.0100.01018.71
8.4.90.0040.00518.89
8.4.80.0130.00818.58
8.4.70.0080.00917.83
8.4.60.0110.00918.89
8.4.50.0060.00418.54
8.4.40.0070.01317.60
8.4.30.0100.01018.72
8.4.20.0120.00317.56
8.4.10.0090.00019.43
8.3.280.0150.00518.29
8.3.270.0130.00616.37
8.3.260.0110.00816.33
8.3.250.0130.00518.82
8.3.240.0120.00717.01
8.3.230.0110.00716.50
8.3.220.0100.00718.86
8.3.210.0120.00816.70
8.3.200.0050.00416.66
8.3.190.0120.00717.28
8.3.180.0130.00616.27
8.3.170.0180.00020.42
8.3.160.0140.00416.79
8.3.150.0040.00417.23
8.3.140.0070.00416.51
8.3.130.0040.00416.56
8.3.120.0030.00618.87
8.3.110.0040.00420.94
8.3.100.0000.01616.62
8.3.90.0030.00518.37
8.3.80.0030.00718.56
8.3.70.0220.00718.00
8.3.60.0260.00617.99
8.3.50.0130.00617.94
8.3.40.0180.00718.55
8.3.30.0160.00721.02
8.3.20.0130.00825.26
8.3.10.0120.00825.27
8.3.00.0120.00925.08
8.2.290.0090.01120.54
8.2.280.0130.00618.09
8.2.270.0090.00920.32
8.2.260.0050.00318.48
8.2.250.0080.00016.60
8.2.240.0060.00317.14
8.2.230.0060.00322.58
8.2.220.0080.00024.06
8.2.210.0080.00026.77
8.2.200.0130.00016.38
8.2.190.0220.00617.77
8.2.180.0210.00617.74
8.2.170.0230.00718.09
8.2.160.0150.00821.09
8.2.150.0140.00825.10
8.2.140.0110.00825.17
8.2.130.0110.00825.17
8.2.120.0110.00825.10
8.2.110.0120.00825.10
8.2.100.0120.00825.08
8.2.90.0130.00725.08
8.2.80.0110.00725.11
8.2.70.0130.00825.07
8.2.60.0130.00725.07
8.2.50.0130.00725.09
8.2.40.0120.00725.07
8.2.30.0120.00725.07
8.2.20.0120.00825.07
8.2.10.0120.00825.07
8.2.00.0120.00725.07
8.1.330.0110.00723.52
8.1.320.0060.01316.04
8.1.310.0100.00718.34
8.1.300.0150.00418.45
8.1.290.0100.00518.88
8.1.280.0240.00619.10
8.1.270.0100.00725.28
8.1.260.0110.00725.27
8.1.250.0100.00825.27
8.1.240.0110.00825.06
8.1.230.0120.00725.07
8.1.220.0110.00725.08
8.1.210.0110.00725.06
8.1.200.0100.00725.07
8.1.190.0110.00725.07
8.1.180.0110.00725.05
8.1.170.0110.00725.07
8.1.160.0110.00725.06
8.1.150.0100.00725.08
8.1.140.0110.00725.06
8.1.130.0110.00725.08
8.1.120.0110.00825.07
8.1.110.0110.00725.07
8.1.100.0110.00725.07
8.1.90.0110.00725.07
8.1.80.0110.00725.14
8.1.70.0110.00725.07
8.1.60.0110.00725.08
8.1.50.0110.00725.06
8.1.40.0110.00725.06
8.1.30.0110.00725.08
8.1.20.0110.00725.13
8.1.10.0110.00725.07
8.1.00.0100.00725.07

preferences:
32.58 ms | 403 KiB | 5 Q