3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=0; while( $i < 20){ if($i%10==0){ echo "<tr>"; } echo "<td>".$i."</td>"; i++; } ?>

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)
5.4.350.0870.03719.32
5.4.340.0400.02319.18
5.4.320.0570.03319.31
5.4.310.0830.03019.06
5.4.300.0500.04019.20
5.4.290.0430.03019.19
5.4.280.0470.04718.86
5.4.270.0630.03719.19
5.4.260.0230.04019.22
5.4.250.0600.02719.29
5.4.240.0670.04318.96
5.4.230.0670.04319.12
5.4.220.0300.04719.23
5.4.210.0700.04319.03
5.4.200.0400.03319.16
5.4.190.0800.03318.82
5.4.180.0470.03319.22
5.4.170.0600.03318.93
5.4.160.0370.04319.20
5.4.150.0370.04319.20
5.4.140.0270.04016.34
5.4.130.0500.04716.35
5.4.120.0600.03316.28
5.4.110.0670.04716.25
5.4.100.0470.03716.59
5.4.90.0670.02716.54
5.4.80.0430.03716.52
5.4.70.0730.04316.59
5.4.60.0570.03016.52
5.4.50.0430.04016.46
5.4.40.0730.03016.32
5.4.30.0770.03316.50
5.4.20.0430.04016.42
5.4.10.0930.01716.48
5.4.00.1030.03316.21
5.3.290.0370.05716.21
5.3.280.0470.05316.21
5.3.270.0300.04316.21
5.3.260.0600.04016.21
5.3.250.0500.04016.21
5.3.240.0670.03316.21
5.3.230.0170.03316.21
5.3.220.0730.03716.21
5.3.210.0430.04716.21
5.3.200.0570.04016.21
5.3.190.0700.03016.21
5.3.180.0230.04316.21
5.3.170.0070.03016.21
5.3.160.0530.03316.21
5.3.150.0530.04016.21
5.3.140.0400.04316.21
5.3.130.0470.04016.21
5.3.120.0400.04016.21
5.3.110.0470.04016.21
5.3.100.1030.03316.21
5.3.90.0470.03716.21
5.3.80.0030.03016.21
5.3.70.0670.03716.21
5.3.60.0700.04316.21
5.3.50.0700.02716.21
5.3.40.0430.04016.21
5.3.30.0270.03716.21
5.3.20.0300.03716.21
5.3.10.0170.04016.21
5.3.00.0270.03716.21
5.2.170.0900.03016.21
5.2.160.0370.03016.21
5.2.150.1130.02016.21
5.2.140.0200.02316.21
5.2.130.0170.03716.21
5.2.120.0200.02316.21
5.2.110.0200.02316.21
5.2.100.0230.02716.21
5.2.90.0230.02716.21
5.2.80.0200.02316.21
5.2.70.0200.02316.21
5.2.60.0170.05716.21
5.2.50.0600.02716.21
5.2.40.0170.02716.21
5.2.30.0400.02316.21
5.2.20.0470.03316.21
5.2.10.0070.03316.21
5.2.00.0270.02716.21
5.1.60.0430.02716.21
5.1.50.0400.02716.21
5.1.40.0270.02716.21
5.1.30.0430.03016.21
5.1.20.0500.03016.21
5.1.10.0330.02316.21
5.1.00.0130.02316.21
5.0.50.0200.02016.21
5.0.40.0130.01716.21
5.0.30.0230.03316.21
5.0.20.0130.01716.21
5.0.10.0100.02016.21
5.0.00.0000.03316.21
4.4.90.0000.01316.21
4.4.80.0130.01716.21
4.4.70.0070.01716.21
4.4.60.0170.01716.21
4.4.50.0200.01716.21
4.4.40.0400.02316.21
4.4.30.0070.02016.21
4.4.20.0230.01716.21
4.4.10.0170.01316.21
4.4.00.0070.02316.21
4.3.110.0200.01716.20
4.3.100.0230.02016.21
4.3.90.0030.01716.21
4.3.80.0070.02016.21
4.3.70.0300.01016.21
4.3.60.0130.01016.21
4.3.50.0230.01716.21
4.3.40.0130.03016.21
4.3.30.0130.02016.21
4.3.20.0070.01316.21
4.3.10.0100.01716.21
4.3.00.0130.01316.21

preferences:
147.52 ms | 1394 KiB | 7 Q