3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('Europe/Sofia'); echo date('d.m.Y H:i:s', strtotime('2 Monday ago')) ;

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.0210.01098.97
7.3.0rc30.0130.00716.39
7.3.0beta10.0000.00712.86
7.3.0alpha10.0080.00312.92
7.2.80.0160.00416.42
7.2.60.0060.00616.94
7.2.00.0100.01219.45
7.1.200.0040.00815.97
7.1.100.0080.00818.32
7.1.70.0000.00817.23
7.1.60.0140.00719.17
7.1.50.0100.01317.14
7.1.00.0000.03722.30
7.0.200.0040.01116.83
7.0.140.0030.07321.96
7.0.110.0600.08319.89
7.0.100.0500.05720.07
7.0.90.0530.08319.96
7.0.80.0570.07719.91
7.0.70.0500.08319.86
7.0.60.0500.08019.86
7.0.50.0600.07319.91
7.0.40.0130.07319.66
7.0.30.0030.05319.70
7.0.20.0030.08719.61
7.0.10.0030.09019.67
7.0.00.0070.08019.66
5.6.280.0070.07321.10
5.6.260.0070.04720.64
5.6.250.0130.07020.83
5.6.240.0030.08720.61
5.6.230.0030.05320.48
5.6.220.0070.07320.61
5.6.210.0170.06720.50
5.6.200.0070.03720.64
5.6.190.0030.08320.61
5.6.180.0030.08020.53
5.6.170.0200.06320.65
5.6.160.0070.06720.50
5.6.150.0100.04720.56
5.6.140.0130.07020.55
5.6.130.0100.07720.43
5.6.120.0000.08020.40
5.6.110.0070.05020.59
5.6.100.0030.09020.63
5.6.90.0100.07320.49
5.6.80.0030.06019.93
5.6.70.0070.04719.93
5.6.60.0070.04719.87
5.6.50.0000.05319.80
5.6.40.0030.05719.98
5.6.30.0070.04719.89
5.6.20.0130.07719.93
5.6.10.0000.08319.89
5.6.00.0100.07319.76
5.5.380.0030.08017.46
5.5.370.0130.07317.52
5.5.360.0100.08317.59
5.5.350.0030.08317.67
5.5.340.0130.06318.16
5.5.330.0170.06717.99
5.5.320.0100.07717.89
5.5.310.0170.07318.01
5.5.300.0100.07318.12
5.5.290.0000.07317.98
5.5.280.0100.07717.84
5.5.270.0000.08717.84
5.5.260.0100.07718.09
5.5.250.0100.03717.94
5.5.240.0070.07717.64
5.5.230.0030.08017.39
5.5.220.0070.08017.14
5.5.210.0100.07017.27
5.5.200.0030.08317.45
5.5.190.0070.04317.45
5.5.180.0200.05017.51
5.5.160.0070.04317.20
5.5.150.0170.07017.19
5.5.140.0030.08017.21
5.5.130.0100.07017.50
5.5.120.0070.07317.45
5.5.110.0030.08017.59
5.5.100.0030.07717.10
5.5.90.0030.07017.12
5.5.80.0070.07317.34
5.5.70.0130.07017.40
5.5.60.0000.08317.36
5.5.50.0030.07717.26
5.5.40.0100.07317.09
5.5.30.0130.06717.39
5.5.20.0130.07317.09
5.5.10.0000.06717.26
5.5.00.0130.06317.24
5.4.450.0030.06719.22
5.4.440.0070.06319.30
5.4.430.0070.05019.39
5.4.420.0000.06019.27
5.4.410.0070.06319.17
5.4.400.0030.07319.07
5.4.390.0000.08018.88
5.4.380.0100.07018.90
5.4.370.0000.07318.98
5.4.360.0000.08718.95
5.4.350.0070.07718.88
5.4.340.0100.06319.20
5.4.320.0070.04718.90
5.4.310.0100.07318.97
5.4.300.0100.06718.95
5.4.290.0100.04019.07
5.4.280.0100.07718.98
5.4.270.0130.07018.97
5.4.260.0000.07718.88
5.4.250.0070.07318.97
5.4.240.0030.05018.97
5.4.230.0070.03719.21
5.4.220.0070.07718.95
5.4.210.0070.07318.89
5.4.200.0100.07018.95
5.4.190.0030.04719.04
5.4.180.0030.07719.12
5.4.170.0000.05719.06
5.4.160.0100.06318.93
5.4.150.0030.08319.02
5.4.140.0100.07316.53
5.4.130.0100.07016.21
5.4.120.0000.05716.56
5.4.110.0030.07316.19
5.4.100.0030.06716.28
5.4.90.0070.06716.19
5.4.80.0070.07016.20
5.4.70.0100.06716.27
5.4.60.0030.03316.16
5.4.50.0070.07316.32
5.4.40.0000.08016.26
5.4.30.0130.06316.29
5.4.20.0130.02316.32
5.4.10.0000.07316.32
5.4.00.0070.06715.92
5.3.290.0070.04314.61
5.3.280.0070.07714.48
5.3.270.0100.06314.55
5.3.260.0000.08314.50
5.3.250.0070.04314.54
5.3.240.0070.07314.46
5.3.230.0030.08014.67
5.3.220.0070.07314.58
5.3.210.0100.07714.49
5.3.200.0030.07714.42
5.3.190.0170.06014.57
5.3.180.0000.08014.63
5.3.170.0030.08014.46
5.3.160.0100.06314.62
5.3.150.0100.06314.43
5.3.140.0030.08014.38
5.3.130.0030.07714.43
5.3.120.0030.08014.61
5.3.110.0030.06314.48
5.3.100.0070.06714.11
5.3.90.0000.06314.13
5.3.80.0100.07013.89
5.3.70.0100.06713.95
5.3.60.0000.07713.93
5.3.50.0070.05013.84
5.3.40.0100.07313.88
5.3.30.0030.07313.79
5.3.20.0100.07013.62
5.3.10.0070.07013.47
5.3.00.0030.07013.47
5.2.170.0070.06011.06
5.2.160.0030.06311.30
5.2.150.0070.06011.04
5.2.140.0030.06311.19
5.2.130.0030.06011.04
5.2.120.0070.05711.01
5.2.110.0030.04711.02
5.2.100.0030.05711.16
5.2.90.0000.05011.04
5.2.80.0000.06011.01
5.2.70.0070.05011.15
5.2.60.0030.06011.12
5.2.50.0030.03710.91
5.2.40.0070.05710.90
5.2.30.0100.05310.90
5.2.20.0070.06310.90
5.2.10.0030.04710.93
5.2.00.0070.05710.79
5.1.60.0030.0509.89
5.1.50.0030.0339.91
5.1.40.0070.0439.91
5.1.30.0070.05310.18
5.1.20.0000.05710.47
5.1.10.0070.0439.99
5.1.00.0030.05710.00
5.0.50.0030.0478.53
5.0.40.0000.0478.47
5.0.30.0030.0638.18
5.0.20.0030.0438.01
5.0.10.0000.0338.22
5.0.00.0030.0678.23
4.4.90.0000.0377.05
4.4.80.0000.0377.05
4.4.70.0030.0237.05
4.4.60.0070.0277.05
4.4.50.0000.0337.05
4.4.40.0000.0577.05
4.4.30.0100.0277.05
4.4.20.0000.0377.05
4.4.10.0000.0377.05
4.4.00.0000.0537.05
4.3.110.0030.0337.05
4.3.100.0030.0307.05
4.3.90.0030.0307.05
4.3.80.0000.0477.05
4.3.70.0000.0337.05
4.3.60.0000.0337.05
4.3.50.0030.0337.05
4.3.40.0000.0537.05
4.3.30.0030.0237.05
4.3.20.0000.0377.05
4.3.10.0000.0377.05
4.3.00.0000.0337.05