3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo function_exists('date_default_timezone_get') ? date_default_timezone_get() : '-';

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.2.00.0030.01019.20
7.1.100.0060.00617.99
7.1.70.0070.00017.24
7.1.60.0070.01719.40
7.1.50.0130.01016.84
7.1.00.0000.05722.30
7.0.200.0100.00016.67
7.0.140.0030.07322.10
7.0.70.4970.04019.91
7.0.60.0000.07720.05
7.0.50.0000.05317.80
7.0.40.0100.08319.89
7.0.30.0300.04720.20
7.0.20.0300.07720.33
7.0.10.0370.04720.09
7.0.00.0100.04720.19
5.6.280.0030.07320.77
5.6.210.0130.06720.73
5.6.200.0000.05718.21
5.6.190.0030.04320.67
5.6.180.0200.06720.41
5.6.170.0370.04720.38
5.6.160.0100.05720.47
5.6.150.0100.03318.18
5.6.140.0070.04318.15
5.6.130.0100.06718.11
5.6.120.0070.08020.97
5.6.110.0000.05321.00
5.6.100.0170.03320.99
5.6.90.0100.08020.99
5.6.80.0100.07720.37
5.6.70.0200.03020.36
5.5.350.0070.08020.34
5.5.340.0030.04017.92
5.5.330.0170.08020.25
5.5.320.0070.04320.15
5.5.310.0300.06320.28
5.5.300.0170.07017.98
5.5.290.0070.09017.87
5.5.280.0100.08320.84
5.5.270.0070.09020.78
5.5.260.0000.09020.67
5.5.250.0100.07320.70
5.5.240.0100.08020.18
5.4.450.0200.07719.41
5.4.440.0870.07319.61
5.4.430.1030.05019.23
5.4.420.0030.06319.13
5.4.410.1070.06719.50
5.4.400.0130.05319.16
5.4.390.0870.05718.80
5.4.380.0200.05318.70
5.4.370.0500.06018.46
5.4.360.0570.05018.50
5.4.350.0060.03411.97
5.4.340.0080.03911.97
5.4.320.0060.03512.45
5.4.310.0070.04712.45
5.4.300.0080.03912.45
5.4.290.0050.03812.45
5.4.280.0070.03712.34
5.4.270.0080.04212.35
5.4.260.0040.03912.34
5.4.250.0100.05718.74
5.4.240.0130.05018.78
5.4.230.0100.04718.84
5.4.220.0030.06018.77
5.4.210.0230.04318.82
5.4.200.0130.04719.02
5.4.190.0100.04718.90
5.4.180.0070.07718.93
5.4.170.0100.06318.73
5.4.160.0100.07718.63
5.4.150.0030.08019.00
5.4.140.0100.04716.54
5.4.130.0100.04316.53
5.4.120.0070.05716.32
5.4.110.0030.05316.58
5.4.100.0030.05016.54
5.4.90.0170.03716.38
5.4.80.0070.05016.32
5.4.70.0070.07016.49
5.4.60.0030.05716.32
5.4.50.0070.05016.33
5.4.40.0070.04716.52
5.4.30.0000.05316.16
5.4.20.0230.03316.46
5.4.10.0070.05016.46
5.4.00.0130.04315.71
5.3.290.0030.04212.80
5.3.280.0100.05314.36
5.3.270.0070.05714.59
5.3.260.0100.06314.51
5.3.250.0070.05314.65
5.3.240.0000.05314.60
5.3.230.0070.05014.61
5.3.220.0030.05314.40
5.3.210.0030.05314.48
5.3.200.0100.05314.40
5.3.190.0030.05314.57
5.3.180.0070.07314.40
5.3.170.0130.06314.57
5.3.160.0000.07014.62
5.3.150.0070.06014.43
5.3.140.0130.04714.41
5.3.130.0030.05314.55
5.3.120.0030.05714.59
5.3.110.0030.05714.57
5.3.100.0070.05314.04
5.3.90.0100.07013.87
5.3.80.0100.04313.87
5.3.70.0070.05014.02
5.3.60.0130.04713.72
5.3.50.0130.04713.96
5.3.40.0130.04313.86
5.3.30.0030.06313.83
5.3.20.0070.05013.63
5.3.10.0130.04013.58
5.3.00.0070.04713.79
5.2.170.0070.04011.16
5.2.160.0000.04311.02
5.2.150.0030.05311.29
5.2.140.0030.04311.14
5.2.130.0000.04711.03
5.2.120.0030.04311.00
5.2.110.0000.04711.01
5.2.100.0070.03711.20
5.2.90.0070.03711.11
5.2.80.0000.04711.09
5.2.70.0070.04311.19
5.2.60.0200.03711.04
5.2.50.0000.06311.02
5.2.40.0170.02710.98
5.2.30.0070.03710.98
5.2.20.0030.04010.79
5.2.10.0070.03710.85
5.2.00.0100.03310.81
5.1.60.0100.0279.91
5.1.50.0030.03710.23
5.1.40.0100.02710.03
5.1.30.0070.04710.41
5.1.20.0000.04010.33
5.1.10.0070.03010.08
5.1.00.0000.03710.10
5.0.50.0030.0278.68
5.0.40.0030.0278.49
5.0.30.0030.0608.24
5.0.20.0030.0308.38
5.0.10.0070.0238.35
5.0.00.0000.0438.39
4.4.90.0000.0237.39
4.4.80.0070.0177.39
4.4.70.0030.0207.39
4.4.60.0070.0277.39
4.4.50.0000.0237.39
4.4.40.0000.0477.39
4.4.30.0000.0237.39
4.4.20.0000.0237.39
4.4.10.0070.0177.39
4.4.00.0030.0337.39
4.3.110.0000.0237.39
4.3.100.0000.0207.39
4.3.90.0000.0237.39
4.3.80.0000.0337.39
4.3.70.0000.0237.39
4.3.60.0070.0137.39
4.3.50.0070.0177.39
4.3.40.0000.0337.39
4.3.30.0070.0237.39
4.3.20.0030.0207.39
4.3.10.0030.0207.39
4.3.00.0070.0237.31