3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($a=0;$a<=10;$a++){ echo"le nombre est:$a<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.1rc30.0120.00413.56
8.1rc20.0100.00413.63
8.1rc10.0140.00013.53
8.0.130.0030.00613.31
8.0.120.0040.00313.31
8.0.110.0070.00613.28
8.0.100.0080.00413.28
8.0.90.0110.00413.28
8.0.80.0090.00613.29
8.0.70.0090.00313.31
8.0.60.0130.00313.33
8.0.50.0070.00613.29
8.0.30.0050.00813.25
8.0.20.0090.00213.38
8.0.10.0050.00313.36
8.0.00.0030.00513.38
7.4.260.0030.00516.46
7.4.250.0030.00313.24
7.4.240.0050.00413.24
7.4.230.0080.00413.17
7.4.220.0080.00213.21
7.4.210.0100.00413.18
7.4.200.0080.00513.21
7.4.190.0080.00213.27
7.4.180.0110.00213.25
7.4.160.0080.00513.27
7.4.150.0150.00313.23
7.4.140.0110.00613.13
7.4.130.0140.00413.20
7.4.120.0130.00413.14
7.4.110.0110.00613.09
7.4.100.0130.00413.21
7.4.90.0130.00313.12
7.4.80.0110.00513.17
7.4.70.0140.00313.21
7.4.60.0130.00513.15
7.4.50.0110.00613.05
7.4.40.0090.00713.07
7.4.30.0120.00513.19
7.4.20.0150.00213.11
7.4.10.0120.00413.20
7.4.00.0140.00313.09
7.3.330.0060.00113.19
7.3.320.0130.00413.14
7.3.310.0090.00813.04
7.3.300.0150.00313.14
7.3.290.0130.00413.23
7.3.280.0130.00213.20
7.3.270.0140.00313.12
7.3.260.0140.00313.17
7.3.250.0140.00413.16
7.3.240.0150.00313.18
7.3.230.0140.00213.12
7.3.220.0160.00113.09
7.3.210.0140.00413.04
7.3.200.0150.00413.02
7.3.190.0130.00512.95
7.3.180.0150.00213.01
7.3.170.0130.00413.00
7.3.160.0130.00413.00
7.3.150.0120.00412.96
7.3.140.0110.00413.08
7.3.130.0110.00313.06
7.3.120.0130.00213.15
7.3.110.0110.00312.98
7.3.100.0120.00313.00
7.3.90.0130.00513.37
7.3.80.0110.00613.04
7.3.70.0120.00413.21
7.3.60.0130.00413.21
7.3.50.0130.00413.31
7.3.40.0130.00313.22
7.3.30.0120.00413.16
7.3.20.0120.00514.38
7.3.10.0140.00314.41
7.3.00.0190.00214.29

preferences:
15.24 ms | 455 KiB | 5 Q