3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('h:i', strtotime('2013-07-09 02:00:00', '-2 hours'));

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).
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)
7.3.0rc40.0080.00816.82
7.3.0rc30.0080.01116.56
7.3.0rc20.0150.00516.87
7.3.0rc10.0030.00616.45
7.3.0beta30.0000.01112.79
7.3.0beta20.0040.00412.80
7.3.0beta10.0090.00312.79
7.3.0alpha40.0130.00012.79
7.3.0alpha30.0090.00312.85
7.3.0alpha20.0080.00312.79
7.3.0alpha10.0040.00812.90
7.2.110.0120.00616.54
7.2.100.0030.00716.39
7.2.90.0100.00316.88
7.2.80.0040.01116.64
7.2.70.0060.00617.01
7.2.60.0040.01116.98
7.2.50.0030.01017.00
7.2.40.0090.00616.96
7.2.30.0000.01516.85
7.2.20.0030.01017.04
7.2.10.0070.00716.61
7.2.00.0050.00818.35
7.1.230.0060.00615.69
7.1.220.0030.01315.75
7.1.210.0060.00615.86
7.1.200.0090.00315.85
7.1.190.0040.01115.54
7.1.180.0060.00315.79
7.1.170.0030.00715.65
7.1.160.0090.00615.90
7.1.150.0090.00315.87
7.1.140.0000.00915.73
7.1.130.0040.00715.93
7.1.120.0060.00915.92
7.1.110.0070.00315.92
7.1.100.0090.00516.93
7.1.90.0030.01015.71
7.1.80.0060.00615.79
7.1.70.0080.00316.42
7.1.60.0060.00717.56
7.1.50.0100.00316.51
7.1.40.0040.00816.00
7.1.30.0090.00615.79
7.1.20.0070.01016.00
7.1.10.0100.00315.85
7.1.00.0040.02319.16
7.0.310.0110.00015.12
7.0.300.0080.00315.46
7.0.290.0000.01415.44
7.0.280.0000.00915.34
7.0.270.0030.01015.48
7.0.260.0060.00615.58
7.0.250.0060.00915.61
7.0.240.0060.00315.45
7.0.230.0070.00415.27
7.0.220.0030.01015.54
7.0.210.0090.00615.50
7.0.200.0140.00715.17
7.0.190.0030.00915.21
7.0.180.0090.00315.58
7.0.170.0000.01315.56
7.0.160.0030.00715.32
7.0.150.0060.00915.27
7.0.140.0080.03818.87
7.0.130.0060.00615.33
7.0.120.0030.04218.77
7.0.110.0040.00715.35
7.0.100.0070.02617.84
7.0.90.0060.04317.71
7.0.80.0030.02617.71
7.0.70.0020.02917.52
7.0.60.0030.04117.59
7.0.50.0050.04717.98
7.0.40.0040.04716.79
7.0.30.0110.04316.68
7.0.20.0000.03416.76
7.0.10.0050.04616.87
7.0.00.0030.03516.65
hhvm-3.22.00.0440.12490.47
hhvm-3.21.30.0660.11889.82
hhvm-3.21.00.0360.13390.27
hhvm-3.20.20.0630.11390.39
hhvm-3.19.20.0500.11489.55
hhvm-3.18.50.0420.12088.05
hhvm-3.18.40.0470.11088.23
hhvm-3.17.30.0600.09787.70
hhvm-3.15.40.0330.13385.29
hhvm-3.13.20.0730.11096.52
hhvm-3.12.140.0770.07795.63
hhvm-3.11.10.0770.11587.55
hhvm-3.10.10.0560.10384.38
5.6.380.0030.00814.11
5.6.370.0130.00314.58
5.6.360.0140.00614.29
5.6.350.0100.00714.33
5.6.340.0080.00914.33
5.6.330.0100.01014.29
5.6.320.0170.00014.49
5.6.310.0120.00514.38
5.6.300.0080.00414.21
5.6.290.0140.00014.36
5.6.280.0030.04217.51
5.6.270.0160.00414.46
5.6.260.0080.00914.22
5.6.250.0050.04017.54
5.6.240.0070.02817.48
5.6.230.0190.03017.48
5.6.220.0120.02217.49
5.6.210.0110.02317.51
5.6.200.0070.04517.78
5.6.190.0100.03317.65
5.6.180.0130.03817.71
5.6.170.0040.04417.78
5.6.160.0120.04017.69
5.6.150.0080.03717.59
5.6.140.0070.04717.63
5.6.130.0050.04617.65
5.6.120.0130.04117.68
5.6.110.0040.03217.64
5.6.100.0090.03117.63
5.6.90.0050.04817.60
5.6.80.0080.04017.43
5.6.70.0130.02017.33
5.6.60.0050.02517.20
5.6.50.0110.02517.42
5.6.40.0080.02017.41
5.6.30.0130.02217.39
5.6.20.0110.02317.48
5.6.10.0100.02117.29
5.6.00.0080.02317.25
5.5.380.0110.03716.57
5.5.370.0120.03516.67
5.5.360.0090.02616.56
5.5.350.0090.04116.61
5.5.340.0090.02316.85
5.5.330.0090.02416.77
5.5.320.0110.04216.84
5.5.310.0080.04516.79
5.5.300.0090.02616.80
5.5.290.0090.02516.71
5.5.280.0060.04416.83
5.5.270.0110.03716.77
5.5.260.0090.04116.80
5.5.250.0060.04116.62
5.5.240.0040.04116.54
5.5.230.0050.03316.48
5.5.220.0000.04716.47
5.5.210.0120.02416.40
5.5.200.0050.02616.52
5.5.190.0090.02216.47
5.5.180.0100.02316.43
5.5.170.0090.00414.22
5.5.160.0100.01816.46
5.5.150.0040.02616.48
5.5.140.0050.02216.52
5.5.130.0020.02616.38
5.5.120.0060.02416.45
5.5.110.0170.02816.38
5.5.100.0100.04016.41
5.5.90.0050.02316.41
5.5.80.0080.03316.44
5.5.70.0070.03716.46
5.5.60.0030.02316.46
5.5.50.0100.02016.45
5.5.40.0030.02316.41
5.5.30.0090.02016.37
5.5.20.0090.02016.41
5.5.10.0080.02016.41
5.5.00.0040.02816.40
5.4.450.0140.04216.08
5.4.440.0100.04016.08
5.4.430.0080.02516.07
5.4.420.0050.02716.12
5.4.410.0070.03816.02
5.4.400.0030.02715.91
5.4.390.0110.03515.87
5.4.380.0000.03215.95
5.4.370.0060.02015.91
5.4.360.0010.04615.93
5.4.350.0070.02815.94
5.4.340.0060.03116.02
5.4.330.0090.00612.79
5.4.320.0050.02215.96
5.4.310.0080.01815.91
5.4.300.0060.02015.88
5.4.290.0040.02215.96
5.4.280.0100.01715.94
5.4.270.0080.02316.02
5.4.260.0050.04315.80
5.4.250.0100.01715.92
5.4.240.0080.02015.89
5.4.230.0020.03915.85
5.4.220.0100.03015.88
5.4.210.0090.03315.91
5.4.200.0100.01815.94
5.4.190.0050.02215.87
5.4.180.0130.02015.87
5.4.170.0080.01515.90
5.4.160.0070.02215.91
5.4.150.0090.01716.00
5.4.140.0070.01714.61
5.4.130.0070.02314.59
5.4.120.0060.02014.57
5.4.110.0060.02014.60
5.4.100.0000.02614.64
5.4.90.0070.02014.57
5.4.80.0050.01914.59
5.4.70.0060.02214.52
5.4.60.0040.02214.61
5.4.50.0030.04014.60
5.4.40.0070.02014.64
5.4.30.0060.02014.48
5.4.20.0110.01314.56
5.4.10.0050.02014.51
5.4.00.0020.02114.25
5.3.290.0060.02413.73
5.3.280.0020.02613.66
5.3.270.0060.02213.62
5.3.260.0020.02313.62
5.3.250.0040.02113.67
5.3.240.0030.02113.62
5.3.230.0090.02013.66
5.3.220.0040.02713.59
5.3.210.0100.01813.68
5.3.200.0050.02213.64
5.3.190.0040.02413.61
5.3.180.0030.02113.65
5.3.170.0100.01813.58
5.3.160.0110.03313.63
5.3.150.0040.02113.60
5.3.140.0060.02113.58
5.3.130.0000.02613.66
5.3.120.0040.02213.63
5.3.110.0070.01813.65
5.3.100.0060.02113.38
5.3.90.0060.02013.39
5.3.80.0040.02213.29
5.3.70.0050.02013.40
5.3.60.0030.02513.32
5.3.50.0100.01713.24
5.3.40.0040.03813.29
5.3.30.0050.03813.23
5.3.20.0110.03013.22
5.3.10.0040.03713.21
5.3.00.0100.03613.19
5.2.170.0030.01811.96
5.2.160.0060.01311.94
5.2.150.0090.03011.87
5.2.140.0030.02711.98
5.2.130.0050.02111.86
5.2.120.0000.03611.96
5.2.110.0010.01911.92
5.2.100.0100.02811.94
5.2.90.0070.03311.97
5.2.80.0040.03311.85
5.2.70.0070.02111.93
5.2.60.0060.02011.94
5.2.50.0090.03011.90
5.2.40.0060.03311.87
5.2.30.0080.02811.91
5.2.20.0050.02911.87
5.2.10.0070.02811.77
5.2.00.0060.03011.77
5.1.60.0030.03011.41
5.1.50.0060.02511.42
5.1.40.0040.02911.41
5.1.30.0030.03011.56
5.1.20.0022.49611.44
5.1.10.0072.49111.37
5.1.00.0072.48911.33
5.0.50.0040.01810.60
5.0.40.0050.01710.61
5.0.30.0050.02710.50
5.0.20.0030.02310.51
5.0.10.0070.02210.40
5.0.00.0020.01910.50
4.4.90.0030.01810.14
4.4.80.0020.02210.14
4.4.70.0060.01310.14
4.4.60.0020.01910.14
4.4.50.0020.02010.14
4.4.40.0020.01910.14
4.4.30.0050.01810.14
4.4.20.0030.02010.14
4.4.10.0050.01810.14
4.4.00.0030.02810.14
4.3.110.0040.01310.14
4.3.100.0070.01210.14
4.3.90.0010.01110.14
4.3.80.0030.02710.14
4.3.70.0000.02110.14
4.3.60.0020.01510.14
4.3.50.0030.01810.14
4.3.40.0000.02010.14
4.3.30.0020.02110.14
4.3.20.0020.01610.14
4.3.10.0020.02010.14
4.3.00.0020.01010.14