3v4l.org

run code in 300+ PHP versions simultaneously
<?php $recommendations = array(); ?><html> <body> <h1>Flavor Recommendations</h1> <?php if(!empty($recommendations)) { ?> <ul> <?php foreach($recommendations as $flavor) { ?> <li><?php echo $flavor; ?></li> <?php }?> </ul> <?php else { ?> <?php echo "There are no flavor recommendations for you"; } }?> </body> </html>

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.320.0130.04019.16
5.4.310.0130.04019.06
5.4.300.0130.04018.86
5.4.290.0200.03319.21
5.4.280.0230.08019.07
5.4.270.0130.03719.06
5.4.260.0270.02719.07
5.4.250.0170.03719.14
5.4.240.0130.04319.08
5.4.230.0200.07019.05
5.4.220.0200.03318.82
5.4.210.0170.05019.23
5.4.200.0170.03719.08
5.4.190.0300.06319.06
5.4.180.0130.05019.00
5.4.170.0130.07719.12
5.4.160.0300.06319.06
5.4.150.0170.04018.96
5.4.140.0200.05716.46
5.4.130.0300.03316.34
5.4.120.0270.05316.33
5.4.110.0230.04016.55
5.4.100.0170.06716.40
5.4.90.0200.03716.51
5.4.80.0200.03716.52
5.4.70.0230.06316.55
5.4.60.0200.07016.33
5.4.50.0230.05016.51
5.4.40.0270.07716.16
5.4.30.0230.06716.18
5.4.20.0230.03016.25
5.4.10.0130.04016.33
5.4.00.0300.05315.82
5.3.290.0100.07714.64
5.3.280.0170.04014.43
5.3.270.0170.03714.54
5.3.260.0270.02714.44
5.3.250.0200.04314.51
5.3.240.0230.04014.56
5.3.230.0200.03314.48
5.3.220.0200.07014.54
5.3.210.0230.04014.41
5.3.200.0100.05314.58
5.3.190.0170.07314.52
5.3.180.0230.03314.39
5.3.170.0230.06014.43
5.3.160.0230.06714.51
5.3.150.0230.07314.40
5.3.140.0130.04314.43
5.3.130.0230.07014.39
5.3.120.0200.03314.53
5.3.110.0200.06714.60
5.3.100.0130.04013.95
5.3.90.0130.04313.86
5.3.80.0130.04714.11
5.3.70.0300.06313.82
5.3.60.0200.06013.80
5.3.50.0270.05713.74
5.3.40.0200.04013.82
5.3.30.0270.06014.00
5.3.20.0200.03313.68
5.3.10.0170.03313.61
5.3.00.0200.04013.48
5.2.170.0130.03011.06
5.2.160.0170.06011.06
5.2.150.0100.03311.20
5.2.140.0230.04011.09
5.2.130.0170.03310.99
5.2.120.0130.04010.90
5.2.110.0130.05311.01
5.2.100.0200.03011.15
5.2.90.0200.05710.99
5.2.80.0200.02311.03
5.2.70.0200.03011.04
5.2.60.0230.04710.97
5.2.50.0170.02710.86
5.2.40.0200.05011.00
5.2.30.0130.02710.81
5.2.20.0100.03010.80
5.2.10.0170.02310.80
5.2.00.0130.05010.58
5.1.60.0030.0409.88
5.1.50.0200.0179.97
5.1.40.0170.02010.03
5.1.30.0130.03310.41
5.1.20.0130.03010.32
5.1.10.0200.05010.05
5.1.00.0100.02710.08
5.0.50.0070.0308.52
5.0.40.0030.0408.35
5.0.30.0030.0338.20
5.0.20.0030.0208.10
5.0.10.0030.0208.05
5.0.00.0070.0308.16
4.4.90.0070.0137.87
4.4.80.0100.0307.87
4.4.70.0070.0377.87
4.4.60.0130.0307.87
4.4.50.0070.0207.87
4.4.40.0070.0337.87
4.4.30.0070.0377.87
4.4.20.0030.0177.87
4.4.10.0070.0237.87
4.4.00.0100.0377.87
4.3.110.0000.0207.87
4.3.100.0070.0377.87
4.3.90.0000.0177.87
4.3.80.0070.0237.87
4.3.70.0070.0237.87
4.3.60.0070.0137.87
4.3.50.0070.0207.87
4.3.40.0070.0277.87
4.3.30.0030.0307.87
4.3.20.0000.0237.87
4.3.10.0000.0177.87
4.3.00.0000.0177.87

preferences:
143.23 ms | 1386 KiB | 7 Q