3v4l.org

run code in 300+ PHP versions simultaneously
<?php $color = array('white', 'green', 'red'') foreach ($color as $k=>$v) { print $v.","; }

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.290.0500.06718.80
5.4.280.0600.06319.10
5.4.270.0500.07318.80
5.4.260.0530.03318.95
5.4.250.0470.05019.18
5.4.240.0470.04719.10
5.4.230.0630.04319.05
5.4.220.0530.07019.14
5.4.210.0500.05019.10
5.4.200.0570.06318.82
5.4.190.0530.06019.15
5.4.180.0500.04319.09
5.4.170.0570.06719.01
5.4.160.0530.05719.08
5.4.150.0530.07019.16
5.4.140.0600.06316.30
5.4.130.0570.06016.30
5.4.120.0470.04016.25
5.4.110.0500.05716.31
5.4.100.0500.03316.24
5.4.90.0370.04016.52
5.4.80.0470.03016.18
5.4.70.0330.03716.48
5.4.60.0300.04016.51
5.4.50.0330.03716.55
5.4.40.0400.04016.39
5.4.30.0400.03716.48
5.4.20.0330.03716.12
5.4.10.0470.05316.21
5.4.00.0430.03315.66
5.3.280.0370.04014.55
5.3.270.0430.04714.44
5.3.260.0600.06014.45
5.3.250.0470.06314.45
5.3.240.0670.06014.59
5.3.230.0500.06714.44
5.3.220.0300.04314.41
5.3.210.0430.03314.61
5.3.200.0470.03714.52
5.3.190.0300.04314.66
5.3.180.0370.03314.42
5.3.170.0400.03314.43
5.3.160.0370.03714.59
5.3.150.0400.03714.42
5.3.140.0370.03314.40
5.3.130.0500.03314.51
5.3.120.0370.03714.51
5.3.110.0430.06314.53
5.3.100.0230.04713.89
5.3.90.0300.04013.96
5.3.80.0400.03014.00
5.3.70.0330.03713.87
5.3.60.0400.03313.92
5.3.50.0330.04013.80
5.3.40.0400.03013.97
5.3.30.0400.03013.86
5.3.20.0300.03713.64
5.3.10.0300.03713.49
5.3.00.0330.03313.72
5.2.170.0270.03710.98
5.2.160.0370.02011.16
5.2.150.0270.03011.30
5.2.140.0370.02710.98
5.2.130.0300.02710.95
5.2.120.0270.03010.94
5.2.110.0270.03010.96
5.2.100.0330.03310.94
5.2.90.0330.02311.04
5.2.80.0330.03011.10
5.2.70.0300.02710.98
5.2.60.0300.02711.14
5.2.50.0270.03311.02
5.2.40.0230.03010.90
5.2.30.0270.03011.01
5.2.20.0330.04711.12
5.2.10.0200.03310.89
5.2.00.0230.03310.57
5.1.60.0230.0239.89
5.1.50.0270.0209.96
5.1.40.0300.0279.95
5.1.30.0270.03310.28
5.1.20.0270.03010.30
5.1.10.0400.04310.01
5.1.00.0300.04010.23
5.0.50.0200.0409.45
5.0.40.0170.0339.45
5.0.30.0100.0639.45
5.0.20.0170.0439.45
5.0.10.0230.0379.45
5.0.00.0300.0309.45
4.4.90.0130.0139.45
4.4.80.0100.0179.45
4.4.70.0100.0279.45
4.4.60.0130.0139.45
4.4.50.0130.0139.45
4.4.40.0100.0239.45
4.4.30.0130.0209.45
4.4.20.0130.0339.45
4.4.10.0100.0339.45
4.4.00.0200.0479.45
4.3.110.0100.0239.45
4.3.100.0070.0409.45
4.3.90.0200.0239.45
4.3.80.0130.0479.45
4.3.70.0270.0239.45
4.3.60.0200.0179.45
4.3.50.0200.0239.45
4.3.40.0230.0409.45
4.3.30.0130.0309.45
4.3.20.0100.0379.45
4.3.10.0070.0409.45
4.3.00.0100.0239.45

preferences:
137.9 ms | 1394 KiB | 7 Q