3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump('2014-01-06' < '2014-01-01', '2014-01-01' == '2014-01-01', '2014-01-01 00:00:01' > '2014-01-01 00:00:00', '2014-01-01 00:00:01' > '2014-01-01 00:00:02');
based on 83GqU

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.0070.01016.63
7.2.00.0040.00819.29
7.1.100.0000.01118.11
7.1.70.0030.00517.15
7.1.60.0070.01519.46
7.1.50.0110.00316.50
7.1.00.0100.07022.45
7.0.200.0070.00716.57
7.0.140.0030.03322.11
7.0.60.0100.07720.05
7.0.50.0030.08017.77
7.0.40.0030.04320.40
7.0.30.0330.04320.38
7.0.20.0200.07319.99
7.0.10.0070.08720.25
7.0.00.0070.05320.02
5.6.280.0030.07321.00
5.6.210.0130.07720.60
5.6.200.0070.05018.14
5.6.190.0030.04720.44
5.6.180.0630.06020.39
5.6.170.0230.07720.33
5.6.160.0030.08720.46
5.6.150.0130.07318.22
5.6.140.0000.05018.21
5.6.130.0100.05718.11
5.6.120.0100.08720.98
5.6.110.0030.04021.00
5.6.100.0270.07021.10
5.6.90.0070.04320.95
5.6.80.0030.05720.40
5.5.350.0400.06720.52
5.5.340.0070.08017.97
5.5.330.0030.04720.34
5.5.320.0030.08320.28
5.5.310.0430.06720.30
5.5.300.0200.06017.97
5.5.290.0030.07718.00
5.5.280.0070.05720.76
5.5.270.0100.07720.85
5.5.260.0030.08320.63
5.5.250.0070.08020.49
5.5.240.0030.04320.06
5.4.450.0670.07319.22
5.4.440.0170.07719.48
5.4.430.0230.05719.32
5.4.420.0330.05319.47
5.4.410.0170.05719.19
5.4.400.0230.07319.13
5.4.390.0300.04718.74
5.4.380.0330.04718.70
5.4.370.0300.07018.73
5.4.360.0330.04318.77
5.4.350.0270.05318.70
5.4.340.0230.07318.59
5.4.320.0230.06018.50
5.4.310.0370.04318.65
5.4.300.0300.04718.56
5.4.290.0300.05318.50
5.4.280.0300.04718.45
5.4.270.0270.05018.50
5.4.260.0330.05018.47
5.4.250.0300.05018.68
5.4.240.0270.05018.68
5.4.230.0270.05318.64
5.4.220.0270.05318.49
5.4.210.0200.05718.60
5.4.200.0300.04316.50
5.4.190.0300.04718.71
5.4.180.0200.05718.70
5.4.170.0200.06018.70
5.4.160.0230.05018.68
5.4.150.0300.04718.66
5.4.140.0230.05016.30
5.4.130.0200.05016.26
5.4.120.0370.05016.22
5.4.110.0330.05016.06
5.4.100.0230.05316.21
5.4.90.0170.05716.16
5.4.80.0370.03716.17
5.4.70.0230.05316.16
5.4.60.0200.05316.05
5.4.50.0400.05716.19
5.4.40.0230.05016.03
5.4.30.0270.04716.27
5.4.20.0270.04716.32
5.4.10.0330.06016.23
5.4.00.0270.06715.55
5.3.290.0330.06714.75
5.3.280.0300.04314.57
5.3.270.0170.06014.70
5.3.260.0270.07314.53
5.3.250.0230.06014.51
5.3.240.0200.06314.60
5.3.230.0170.06014.52
5.3.220.0200.05314.54
5.3.210.0300.05014.47
5.3.200.0330.05314.55
5.3.190.0270.04714.55
5.3.180.0270.04714.64
5.3.170.0230.05014.61
5.3.160.0330.04314.51
5.3.150.0230.05714.59
5.3.140.0270.04714.65
5.3.130.0230.05314.57
5.3.120.0330.05314.45
5.3.110.0300.06014.64
5.3.100.0300.05313.93
5.3.90.0470.06314.11
5.3.80.0270.05014.10
5.3.70.0330.06313.98
5.3.60.0270.05013.98
5.3.50.0370.04313.88
5.3.40.0230.05014.02
5.3.30.0200.05713.88
5.3.20.0330.04713.65
5.3.10.0170.05313.60
5.3.00.0200.05313.54
5.2.170.0170.04711.11
5.2.160.0170.04311.10
5.2.150.0230.04011.18
5.2.140.0170.04311.11
5.2.130.0230.03311.08
5.2.120.0270.04011.15
5.2.110.0230.03711.23
5.2.100.0270.05311.09
5.2.90.0130.06311.06
5.2.80.0230.04011.06
5.2.70.0170.04711.12
5.2.60.0230.05710.98
5.2.50.0170.04711.00
5.2.40.0200.04011.03
5.2.30.0170.04710.88
5.2.20.0300.04011.09
5.2.10.0200.03310.97
5.2.00.0130.04310.85
5.1.60.0070.04310.02
5.1.50.0200.03010.02
5.1.40.0130.03710.00
5.1.30.0200.03310.43
5.1.20.0170.04010.36
5.1.10.0130.04010.06
5.1.00.0130.04010.03
5.0.50.0100.0438.61
5.0.40.0100.0278.42
5.0.30.0130.0478.19
5.0.20.0030.0308.32
5.0.10.0130.0278.25
5.0.00.0130.0378.36
4.4.90.0030.0275.86
4.4.80.0100.0205.90
4.4.70.0070.0305.85
4.4.60.0100.0205.86
4.4.50.0030.0305.88
4.4.40.0070.0375.87
4.4.30.0100.0235.81
4.4.20.0070.0235.95
4.4.10.0100.0235.95
4.4.00.0100.0335.93
4.3.110.0130.0275.79
4.3.100.0130.0175.89
4.3.90.0070.0275.79
4.3.80.0030.0375.78
4.3.70.0030.0235.87
4.3.60.0070.0235.79
4.3.50.0100.0235.91
4.3.40.0100.0305.74
4.3.30.0000.0275.07
4.3.20.0030.0235.07
4.3.10.0070.0205.07
4.3.00.0030.01714.57