3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rating = 0; $rottenbig = '<img src="http://ycfac197.mc.yu.edu/COM3780/12fa/homework/2/rottenbig.png" alt="Rotten" />'; if ($rating < 60) { echo $rottenbig; } echo '33%'; else { echo '<img src="http://ycfac197.mc.yu.edu/COM3780/12fa/homework/2/freshbig.png" alt="Fresh" />'; } ?>

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.0300.07019.15
5.4.310.0230.05719.09
5.4.300.0300.05019.19
5.4.290.0400.05318.99
5.4.280.0330.07019.31
5.4.270.0330.06018.87
5.4.260.0300.05318.87
5.4.250.0330.06719.23
5.4.240.0470.05019.14
5.4.230.0270.04719.13
5.4.220.0330.04319.15
5.4.210.0270.05019.19
5.4.200.0330.04718.87
5.4.190.0330.06718.86
5.4.180.0300.07019.15
5.4.170.0330.07019.13
5.4.160.0330.05718.99
5.4.150.0200.04319.29
5.4.140.0200.04016.50
5.4.130.0330.06716.33
5.4.120.0500.02316.50
5.4.110.0300.06316.55
5.4.100.0330.05016.37
5.4.90.0270.04016.56
5.4.80.0330.04316.18
5.4.70.0400.05716.43
5.4.60.0270.05716.56
5.4.50.0370.06016.37
5.4.40.0200.04016.42
5.4.30.0330.02316.51
5.4.20.0300.06716.42
5.4.10.0270.07316.48
5.4.00.0370.03715.96
5.3.290.0300.04314.51
5.3.280.0230.04714.55
5.3.270.0330.07014.54
5.3.260.0330.05714.44
5.3.250.0370.04314.44
5.3.240.0270.05014.56
5.3.230.0370.05014.55
5.3.220.0330.05314.52
5.3.210.0200.04314.52
5.3.200.0230.04314.52
5.3.190.0230.08014.68
5.3.180.0300.07014.50
5.3.170.0230.08014.40
5.3.160.0330.06714.43
5.3.150.0230.04014.40
5.3.140.0270.04714.54
5.3.130.0270.04314.53
5.3.120.0270.05014.41
5.3.110.0270.06714.58
5.3.100.0300.06713.90
5.3.90.0300.04713.86
5.3.80.0300.04714.07
5.3.70.0330.06713.82
5.3.60.0200.05713.78
5.3.50.0370.04713.99
5.3.40.0330.07013.85
5.3.30.0270.05713.74
5.3.20.0230.03313.72
5.3.10.0330.07013.75
5.3.00.0300.04313.59
5.2.170.0200.06710.98
5.2.160.0300.05711.21
5.2.150.0270.05711.16
5.2.140.0230.02711.02
5.2.130.0270.03010.94
5.2.120.0200.04711.14
5.2.110.0200.06011.04
5.2.100.0300.04710.94
5.2.90.0230.05311.04
5.2.80.0300.03011.14
5.2.70.0330.03010.94
5.2.60.0270.05710.91
5.2.50.0370.05311.17
5.2.40.0230.03010.90
5.2.30.0200.05710.82
5.2.20.0130.04310.80
5.2.10.0130.07011.02
5.2.00.0130.03710.78
5.1.60.0170.0279.96
5.1.50.0200.0239.96
5.1.40.0170.0539.96
5.1.30.0230.03010.36
5.1.20.0170.03010.32
5.1.10.0170.03310.05
5.1.00.0200.05710.04
5.0.50.0130.0279.96
5.0.40.0130.0409.96
5.0.30.0070.0479.96
5.0.20.0100.0279.96
5.0.10.0070.0339.96
5.0.00.0170.0439.96
4.4.90.0130.0309.96
4.4.80.0100.0379.96
4.4.70.0130.0279.96
4.4.60.0100.0379.96
4.4.50.0100.0309.96
4.4.40.0070.0309.96
4.4.30.0230.0109.96
4.4.20.0100.0209.96
4.4.10.0130.0309.96
4.4.00.0100.0509.96
4.3.110.0070.0409.96
4.3.100.0200.0279.96
4.3.90.0100.0309.96
4.3.80.0100.0339.96
4.3.70.0130.0309.96
4.3.60.0100.0239.96
4.3.50.0130.0239.96
4.3.40.0070.0439.96
4.3.30.0070.0209.96
4.3.20.0100.0309.96
4.3.10.0030.0379.96
4.3.00.0100.0309.96

preferences:
134.67 ms | 1394 KiB | 7 Q