3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strtotime('1987-05-30') * 1000); var_dump(date('Y-m-d', 549255600000));
based on E2q2N

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.10.0090.00016.71
7.3.00.0050.01016.50
7.2.130.0040.00816.95
7.2.120.0000.01516.84
7.2.110.0060.00916.78
7.2.100.0080.00616.89
7.2.90.0040.01117.10
7.2.80.0060.01016.98
7.2.70.0060.00616.59
7.2.60.0000.01416.89
7.2.50.0070.00716.82
7.2.40.0050.00817.04
7.2.30.0000.01217.03
7.2.20.0060.00317.04
7.2.10.0080.00316.93
7.2.00.0050.01118.12
7.1.250.0040.00815.76
7.1.200.0120.00015.96
7.1.100.0040.00818.41
7.1.70.0060.00317.27
7.1.60.0070.01719.46
7.1.50.0230.01334.91
7.1.00.0030.07722.54
7.0.200.0050.00316.83
7.0.140.0000.03722.18
7.0.100.0130.07321.72
7.0.90.0000.07721.79
7.0.80.0030.04721.79
7.0.70.0070.08021.79
7.0.60.0030.08021.75
7.0.50.0030.07022.01
7.0.40.0070.08020.14
7.0.30.0070.08320.14
7.0.20.0100.08020.09
7.0.10.0070.08720.07
7.0.00.0030.08720.04
5.6.280.0030.07321.07
5.6.250.0130.07720.59
5.6.240.0100.04320.68
5.6.230.0030.06320.50
5.6.220.0030.05720.59
5.6.210.0030.05720.46
5.6.200.0030.08321.06
5.6.190.0030.08021.09
5.6.180.0070.07320.95
5.6.170.0130.05020.99
5.6.160.0130.07021.01
5.6.150.0130.07720.95
5.6.140.0000.08321.10
5.6.130.0030.08321.16
5.6.120.0030.08721.01
5.6.110.0030.04020.95
5.6.100.0000.08320.97
5.6.90.0100.05321.01
5.6.80.0130.04020.48
5.6.70.0070.04320.45
5.6.60.0030.05020.38
5.6.50.0100.05020.40
5.6.40.0070.08320.45
5.6.30.0000.07720.52
5.6.20.0130.06720.43
5.6.10.0000.05720.35
5.6.00.0030.07720.41
5.5.380.0070.08020.50
5.5.370.0030.04320.39
5.5.360.0130.07320.52
5.5.350.0100.07720.42
5.5.340.0100.07020.80
5.5.330.0070.09020.73
5.5.320.0070.08320.76
5.5.310.0070.07320.89
5.5.300.0030.08020.86
5.5.290.0100.07720.77
5.5.280.0100.07320.87
5.5.270.0100.07020.76
5.5.260.0070.07720.89
5.5.250.0030.08020.69
5.5.240.0170.06720.24
5.5.230.0100.07320.20
5.5.220.0030.07720.26
5.5.210.0030.08320.15
5.5.200.0070.07720.21
5.5.190.0170.06719.98
5.5.180.0070.05720.26
5.5.160.0070.07720.23
5.5.150.0070.03720.24
5.5.140.0100.07020.11
5.5.130.0030.07320.19
5.5.120.0030.08020.17
5.5.110.0100.07320.18
5.5.100.0070.07020.12
5.5.90.0070.06020.14
5.5.80.0130.05720.14
5.5.70.0100.05020.05
5.5.60.0070.06720.04
5.5.50.0070.04719.93
5.5.40.0070.03720.13
5.5.30.0100.07320.02
5.5.20.0100.07719.91
5.5.10.0070.06020.10
5.5.00.0030.08020.02
5.4.450.0070.07719.36
5.4.440.0070.07319.37
5.4.430.0000.08319.13
5.4.420.0030.06019.37
5.4.410.0100.04719.16
5.4.400.0000.08319.03
5.4.390.0030.06019.12
5.4.380.0130.06719.12
5.4.370.0030.08019.07
5.4.360.0070.06719.25
5.4.350.0070.07318.90
5.4.340.0100.07319.02
5.4.320.0100.04018.81
5.4.310.0070.04018.98
5.4.300.0030.07318.96
5.4.290.0130.06319.05
5.4.280.0030.08719.07
5.4.270.0170.06019.12
5.4.260.0070.05718.88
5.4.250.0070.07319.11
5.4.240.0100.07018.78
5.4.230.0030.07719.11
5.4.220.0070.04319.11
5.4.210.0070.07018.91
5.4.200.0030.07719.12
5.4.190.0070.07318.77
5.4.180.0030.05019.07
5.4.170.0070.05718.97
5.4.160.0070.04318.88
5.4.150.0100.03318.96
5.4.140.0100.03316.32
5.4.130.0000.04016.38
5.4.120.0070.03316.38
5.4.110.0100.05316.38
5.4.100.0000.04016.46
5.4.90.0100.03016.31
5.4.80.0030.03316.50
5.4.70.0000.05316.27
5.4.60.0100.03316.32
5.4.50.0070.03316.30
5.4.40.0070.06716.45
5.4.30.0030.04716.33
5.4.20.0030.04316.18
5.4.10.0000.05016.28
5.4.00.0100.06715.71
5.3.290.0030.04014.50
5.3.280.0100.07314.44
5.3.270.0030.07714.55
5.3.260.0100.07314.56
5.3.250.0070.04314.44
5.3.240.0000.04714.46
5.3.230.0030.06314.55
5.3.220.0000.04014.54
5.3.210.0000.05714.47
5.3.200.0030.03714.51
5.3.190.0070.04014.54
5.3.180.0000.04014.55
5.3.170.0030.04314.55
5.3.160.0000.04014.49
5.3.150.0000.04014.50
5.3.140.0030.03714.51
5.3.130.0000.04014.56
5.3.120.0000.07314.53
5.3.110.0030.03714.55
5.3.100.0070.03714.04
5.3.90.0030.07313.83
5.3.80.0030.04713.99
5.3.70.0030.06713.86
5.3.60.0030.07713.75
5.3.50.0030.03013.82
5.3.40.0000.04713.70
5.3.30.0030.03313.89
5.3.20.0030.03713.55
5.3.10.0000.06313.61
5.3.00.0070.03013.62
5.2.170.0070.04311.16
5.2.160.0030.02711.14
5.2.150.0000.03011.13
5.2.140.0000.03311.08
5.2.130.0030.05011.09
5.2.120.0030.02310.93
5.2.110.0000.04010.96
5.2.100.0030.03010.90
5.2.90.0030.02711.15
5.2.80.0030.03011.14
5.2.70.0030.02711.08
5.2.60.0000.03311.03
5.2.50.0070.02310.80
5.2.40.0100.02010.91
5.2.30.0000.03010.96
5.2.20.0000.03010.82
5.2.10.0070.02310.86
5.2.00.0000.03010.65
5.1.60.0000.0239.99
5.1.50.0000.02310.00
5.1.40.0000.0239.95
5.1.30.0000.02710.36
5.1.20.0030.02310.20
5.1.10.0030.02710.06
5.1.00.0000.02710.05
5.0.50.0030.0179.15
5.0.40.0030.0309.15
5.0.30.0000.0539.15
5.0.20.0000.0209.15
5.0.10.0000.0239.15
5.0.00.0000.0309.15
4.4.90.0000.0139.15
4.4.80.0000.0139.15
4.4.70.0030.0139.15
4.4.60.0000.0139.15
4.4.50.0000.0139.15
4.4.40.0000.0239.15
4.4.30.0000.0139.15
4.4.20.0030.0179.15
4.4.10.0000.0209.15
4.4.00.0000.0239.15
4.3.110.0000.0209.15
4.3.100.0000.0139.15
4.3.90.0000.0179.15
4.3.80.0000.0239.15
4.3.70.0000.0139.15
4.3.60.0000.0179.15
4.3.50.0000.0139.15
4.3.40.0000.0239.15
4.3.30.0000.0179.15
4.3.20.0000.0179.15
4.3.10.0000.0179.15
4.3.00.0000.0139.15