3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new \DateTime(); echo $date->format('c')

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)
5.6.80.0100.03720.50
5.5.240.0070.07020.15
5.4.400.1070.07318.72
5.4.390.1030.05318.60
5.4.380.1030.04718.52
5.4.370.1130.07018.49
5.4.360.1200.07318.67
5.4.350.1070.06018.65
5.4.340.0830.07018.74
5.4.320.0930.06318.67
5.4.310.0870.05718.57
5.4.300.0830.06018.70
5.4.290.0930.06018.58
5.4.280.1130.07318.52
5.4.270.0930.06718.45
5.4.260.1000.05018.45
5.4.250.0730.05318.56
5.4.240.0900.05718.51
5.4.230.0870.05018.56
5.4.220.0930.06018.63
5.4.210.0900.04718.69
5.4.200.0800.05316.59
5.4.190.0970.05318.66
5.4.180.0900.05318.66
5.4.170.1030.05018.68
5.4.160.0870.04718.55
5.4.150.0870.05018.46
5.4.140.1000.06316.06
5.4.130.0770.05016.13
5.4.120.0870.05016.27
5.4.110.0930.04716.19
5.4.100.0830.05316.12
5.4.90.0730.05716.15
5.4.80.0870.04716.20
5.4.70.0930.06016.04
5.4.60.0870.04316.20
5.4.50.0930.05016.21
5.4.40.0930.04316.27
5.4.30.0830.05016.15
5.4.20.1070.06716.15
5.4.10.0870.05316.00
5.4.00.0830.05015.66
5.3.290.0800.06014.63
5.3.280.1070.07014.64
5.3.270.0870.05314.58
5.3.260.0800.05714.55
5.3.250.0830.05314.65
5.3.240.0830.05314.54
5.3.230.0830.05314.55
5.3.220.1000.06014.52
5.3.210.0930.05314.46
5.3.200.0970.05014.59
5.3.190.1100.05014.70
5.3.180.1130.03714.46
5.3.170.1000.07014.61
5.3.160.0900.06014.53
5.3.150.0870.05314.46
5.3.140.1200.06014.45
5.3.130.0930.05714.44
5.3.120.0830.06714.59
5.3.110.0830.06014.57
5.3.100.0800.05314.09
5.3.90.0930.05314.07
5.3.80.0870.05013.96
5.3.70.0900.05013.88
5.3.60.0970.04314.14
5.3.50.0800.05013.93
5.3.40.0900.04713.88
5.3.30.0900.05313.98
5.3.20.0930.05013.64
5.3.10.0970.05013.69
5.3.00.0900.04313.62
5.2.170.0670.04711.18
5.2.160.0670.04311.06
5.2.150.0630.05311.11
5.2.140.0900.05311.11
5.2.130.0900.06011.06
5.2.120.0800.04311.06
5.2.110.0830.03311.12
5.2.100.0670.04711.08
5.2.90.0770.04311.07
5.2.80.0730.04311.13
5.2.70.0630.05011.04
5.2.60.0670.04711.16
5.2.50.0630.04711.04
5.2.40.0670.04311.01
5.2.30.0670.03011.08
5.2.20.0570.04710.92
5.2.10.0600.05710.90
5.2.00.0670.03710.72
5.1.60.0600.0339.92
5.1.50.0530.04010.02
5.1.40.0630.0309.98
5.1.30.0700.03310.45
5.1.20.0670.04310.46
5.1.10.0570.03310.08
5.1.00.0670.03310.05
5.0.50.0330.0238.60
5.0.40.0230.0338.41
5.0.30.0330.0408.22
5.0.20.0300.0278.26
5.0.10.0370.0278.23
5.0.00.0370.0378.26
4.4.90.0370.0175.82
4.4.80.0300.0205.87
4.4.70.0430.0135.88
4.4.60.0330.0205.80
4.4.50.0270.0235.91
4.4.40.0330.0305.82
4.4.30.0330.0205.91
4.4.20.0330.0205.96
4.4.10.0300.0235.93
4.4.00.0300.0335.94
4.3.110.0300.0305.76
4.3.100.0270.0235.82
4.3.90.0300.0235.82
4.3.80.0270.0375.82
4.3.70.0270.0275.93
4.3.60.0300.0205.79
4.3.50.0400.0175.89
4.3.40.0270.0375.75
4.3.30.0170.0204.59
4.3.20.0130.0234.61
4.3.10.0130.0234.51
4.3.00.0100.0206.81