3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $di = new DateInterval('P1D'); echo date_create('@0')->add($di)->getTimestamp();
based on 1bJW8

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.60.0060.00916.82
7.2.00.0000.01419.08
7.1.200.0000.01515.61
7.1.100.0030.00918.24
7.1.70.0040.00416.99
7.1.60.0100.01619.50
7.1.50.0150.01117.09
7.1.00.0000.07722.57
7.0.200.0600.00715.15
7.0.140.0030.06722.08
7.0.60.0100.07319.93
7.0.50.0070.05317.87
7.0.40.0100.09019.89
7.0.30.0170.04320.13
7.0.20.0230.05320.09
7.0.10.0200.08720.33
7.0.00.0130.08020.16
5.6.210.0070.03720.50
5.6.200.0070.08018.20
5.6.190.0000.05720.39
5.6.180.0270.05320.66
5.6.170.0270.06320.52
5.6.160.0070.05020.46
5.6.150.0070.06018.13
5.6.140.0070.08018.16
5.6.130.0070.03718.20
5.6.120.0100.06321.11
5.6.110.0170.06721.11
5.6.100.0100.04321.02
5.6.90.0070.08021.03
5.6.80.0130.07320.51
5.6.70.0400.07020.42
5.5.350.0200.06020.29
5.5.340.0000.04317.89
5.5.330.0130.07320.32
5.5.320.0000.07720.25
5.5.310.0270.08020.30
5.5.300.0100.08017.94
5.5.290.0170.03318.01
5.5.280.0070.08320.65
5.5.270.0070.04320.84
5.5.260.0230.07020.75
5.5.250.0130.07320.65
5.5.240.0070.05720.07
5.4.450.0230.05019.33
5.4.440.1270.07319.60
5.4.430.0930.06019.23
5.4.420.0900.07719.13
5.4.410.0170.05718.68
5.4.400.0470.07018.68
5.4.390.0400.05318.66
5.4.380.0400.05718.62
5.4.370.0570.05318.78
5.4.360.0370.05718.72
5.4.350.0330.07318.65
5.4.340.0430.05718.50
5.4.320.0500.06018.49
5.4.310.0430.05018.46
5.4.300.0300.08018.79
5.4.290.0370.06318.73
5.4.280.0370.06318.76
5.4.270.0430.07318.44
5.4.260.0370.05718.70
5.4.250.0300.05718.61
5.4.240.0400.06018.48
5.4.230.0370.07318.61
5.4.220.0700.06718.64
5.4.210.0430.06018.73
5.4.200.0400.05316.50
5.4.190.0330.06318.47
5.4.180.0370.06018.55
5.4.170.0370.06718.62
5.4.160.0470.06318.46
5.4.150.0300.06018.44
5.4.140.0470.05016.31
5.4.130.0530.05716.05
5.4.120.0230.06016.12
5.4.110.0430.05016.21
5.4.100.0430.05716.04
5.4.90.0630.05016.09
5.4.80.0430.05016.06
5.4.70.0330.06316.29
5.4.60.0430.05716.16
5.4.50.0270.06716.19
5.4.40.0400.05016.13
5.4.30.0430.07016.18
5.4.20.0330.06316.05
5.4.10.0570.05316.02
5.4.00.0400.05715.58
5.3.290.0400.06314.74
5.3.280.0430.07014.56
5.3.270.0400.07014.58
5.3.260.0400.07014.56
5.3.250.0400.07714.53
5.3.240.0370.07314.61
5.3.230.0530.06314.63
5.3.220.0300.05714.65
5.3.210.0430.05714.54
5.3.200.0370.07014.59
5.3.190.0400.05314.59
5.3.180.0400.05314.61
5.3.170.0530.05714.54
5.3.160.0430.07014.53
5.3.150.0370.07014.53
5.3.140.0500.04314.44
5.3.130.0430.07314.53
5.3.120.0400.05714.45
5.3.110.0530.05314.57
5.3.100.0370.06014.12
5.3.90.0230.06713.93
5.3.80.0470.06014.09
5.3.70.0270.05714.00
5.3.60.0300.06013.91
5.3.50.0300.06014.04
5.3.40.0370.04713.89
5.3.30.0370.05013.91
5.3.20.0330.05013.67
5.3.10.0330.05713.60
5.3.00.0200.07013.54
5.2.170.0270.04711.18
5.2.160.0270.04311.07
5.2.150.0230.04311.15
5.2.140.0200.05311.04
5.2.130.0330.03311.05
5.2.120.0270.04311.10
5.2.110.0300.03711.00
5.2.100.0300.03711.15
5.2.90.0230.04011.01
5.2.80.0270.05311.07
5.2.70.0230.06011.12
5.2.60.0330.05011.01
5.2.50.0270.05010.99
5.2.40.0300.05011.02
5.2.30.0200.04711.11
5.2.20.0130.05710.99
5.2.10.0270.04310.97
5.2.00.0200.04310.75
5.1.60.0300.04710.01
5.1.50.0230.04310.05
5.1.40.0270.0339.98
5.1.30.0230.05010.29
5.1.20.0300.05010.41
5.1.10.0230.04310.11
5.1.00.0300.03710.06
5.0.50.0170.0408.56
5.0.40.0230.0278.46
5.0.30.0270.0478.26
5.0.20.0130.0278.21
5.0.10.0130.0408.29
5.0.00.0230.0478.34
4.4.90.0100.0276.39
4.4.80.0100.0336.39
4.4.70.0130.0306.39
4.4.60.0070.0236.39
4.4.50.0100.0236.39
4.4.40.0170.0306.39
4.4.30.0130.0306.39
4.4.20.0170.0276.39
4.4.10.0130.0236.39
4.4.00.0170.0336.39
4.3.110.0070.0306.39
4.3.100.0130.0206.39
4.3.90.0170.0206.39
4.3.80.0170.0306.39
4.3.70.0200.0176.39
4.3.60.0130.0236.39
4.3.50.0130.0236.39
4.3.40.0170.0376.39
4.3.30.0130.0276.39
4.3.20.0030.0276.39
4.3.10.0130.0306.39
4.3.00.0070.0236.90