3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $color = array('white', 'green', 'red', 'blue', 'black'); echo "The memory of that scene for me is like a frame of film forever frozen at that moment: the $color[3] carpet, the green lawn, the white house, the leaden sky. The new president and his first lady"
based on WNPjf

Here you find the average performance (time & memory) of each version. A greyed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
5.4.310.2270.04018.91
5.4.300.2370.03719.10
5.4.290.2430.04019.25
5.4.280.2330.04018.91
5.4.270.2170.04019.25
5.4.260.2270.04018.91
5.4.250.2130.03019.09
5.4.240.2130.03318.93
5.4.230.2500.04718.80
5.4.220.2100.04019.13
5.4.210.2530.05018.88
5.4.200.2100.03319.13
5.4.190.2070.03319.07
5.4.180.2400.03319.12
5.4.170.2300.04319.22
5.4.160.2070.04019.04
5.4.150.2270.02719.23
5.4.140.2230.03316.46
5.4.130.2100.03716.38
5.4.120.2170.03016.33
5.4.110.2300.04016.23
5.4.100.2130.03316.43
5.4.90.2270.03016.18
5.4.80.2230.03316.05
5.4.70.2700.04316.29
5.4.60.2030.03016.19
5.4.50.2000.04016.43
5.4.40.2200.03316.45
5.4.30.2300.03316.04
5.4.20.2300.04316.15
5.4.10.2130.02716.48
5.4.00.2600.04015.90
5.3.290.2230.03314.50
5.3.280.2130.04314.53
5.3.270.2270.03314.47
5.3.260.1900.03314.55
5.3.250.2170.03314.46
5.3.240.2670.04314.70
5.3.230.2370.04714.54
5.3.220.2130.03714.55
5.3.210.2170.03714.42
5.3.200.1270.03314.42
5.3.190.0030.03714.40
5.3.180.0000.05014.55
5.3.170.0800.03714.44
5.3.160.1530.03314.55
5.3.150.1800.04014.63
5.3.140.2130.04014.39
5.3.130.2200.03314.43
5.3.120.2600.04714.40
5.3.110.2100.04014.55
5.3.100.1970.03713.98
5.3.90.1470.03713.90
5.3.80.2030.03713.96
5.3.70.1200.03314.11
5.3.60.0000.03713.91
5.3.50.0070.03013.85
5.3.40.1200.02313.74
5.3.30.1930.03313.82
5.3.20.2130.03313.56
5.3.10.2100.04013.75
5.3.00.2100.03313.50
5.2.170.0030.03011.16
5.2.160.0030.02711.01
5.2.150.0000.03011.09
5.2.140.0000.03011.05
5.2.130.1430.02711.18
5.2.120.1830.02311.01
5.2.110.1930.03311.12
5.2.100.1570.02310.96
5.2.90.1930.02711.15
5.2.80.1230.03710.97
5.2.70.0030.03010.98
5.2.60.0070.02710.89
5.2.50.0000.03011.09
5.2.40.0030.03311.05
5.2.30.0770.02710.98
5.2.20.1470.03011.02
5.2.10.1570.03010.89
5.2.00.1570.02010.66
5.1.60.1500.02310.09
5.1.50.1670.0279.94
5.1.40.1400.0309.96
5.1.30.1630.03010.21
5.1.20.1400.03010.29
5.1.10.1500.0279.95
5.1.00.1800.0239.96
5.0.50.0730.0238.64
5.0.40.0730.0208.36
5.0.30.0870.0438.40
5.0.20.0900.0178.11
5.0.10.0770.0178.15
5.0.00.0770.0308.07
4.4.90.0730.0137.85
4.4.80.0800.0107.85
4.4.70.0730.0177.85
4.4.60.0830.0207.85
4.4.50.0870.0207.85
4.4.40.0770.0237.85
4.4.30.0600.0137.85
4.4.20.0730.0137.85
4.4.10.0700.0177.85
4.4.00.0800.0277.85
4.3.110.0700.0177.85
4.3.100.0930.0137.85
4.3.90.0800.0177.85
4.3.80.0770.0207.85
4.3.70.0900.0207.85
4.3.60.0800.0177.85
4.3.50.0570.0177.85
4.3.40.0030.0507.85
4.3.30.0000.0377.85
4.3.20.0000.0177.85
4.3.10.0000.0237.85
4.3.00.0000.0277.85