3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(-1 - PHP_INT_MAX, - PHP_INT_MAX);
based on ObLUO

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.0040.00716.43
7.2.00.0080.00619.10
7.1.200.0030.00915.79
7.1.100.0030.01018.10
7.1.70.0000.01017.07
7.1.60.0100.01319.50
7.1.50.0040.01416.82
7.1.00.0070.07322.31
7.0.200.0260.00716.35
7.0.140.0030.03322.08
7.0.60.0030.06319.84
7.0.50.0070.08317.87
7.0.40.0000.05720.40
7.0.30.0370.05320.09
7.0.20.0330.06720.16
7.0.10.0070.06720.26
7.0.00.0030.08720.16
5.6.280.0030.07321.12
5.6.210.0200.07320.50
5.6.200.0070.03718.23
5.6.190.0100.05320.27
5.6.180.0330.08020.41
5.6.170.0170.04720.48
5.6.160.0130.07720.49
5.6.150.0100.05018.15
5.6.140.0070.08318.20
5.6.130.0070.07018.10
5.6.120.0030.09321.11
5.6.110.0070.08320.97
5.6.100.0200.07021.08
5.6.90.0130.06721.00
5.6.80.0070.07020.37
5.5.350.2900.03720.43
5.5.340.0070.07717.91
5.5.330.0070.07720.23
5.5.320.0170.06020.13
5.5.310.0200.07720.17
5.5.300.0030.04017.98
5.5.290.0000.07717.98
5.5.280.0030.09020.76
5.5.270.0070.04020.75
5.5.260.0100.05720.76
5.5.250.0100.07020.54
5.5.240.0230.07720.18
5.4.450.0430.04719.41
5.4.440.0300.04719.41
5.4.430.0300.07019.41
5.4.420.0330.04319.11
5.4.410.0300.07019.33
5.4.400.0270.03718.92
5.4.390.0230.05018.83
5.4.380.0300.04019.09
5.4.370.0230.06019.13
5.4.360.0330.03319.09
5.4.350.0270.06019.13
5.4.340.0270.05019.06
5.4.320.0300.06719.21
5.4.310.0300.04018.91
5.4.300.0330.07018.92
5.4.290.0330.07018.76
5.4.280.0330.04319.09
5.4.270.0270.05318.93
5.4.260.0230.03319.13
5.4.250.0270.03319.09
5.4.240.0230.03318.92
5.4.230.0230.03719.07
5.4.220.0200.04719.08
5.4.210.0200.03319.09
5.4.200.0200.04718.92
5.4.190.0270.03019.07
5.4.180.0270.03018.91
5.4.170.0130.04319.06
5.4.160.0130.04719.04
5.4.150.0230.03319.05
5.4.140.0170.03716.45
5.4.130.0270.02716.16
5.4.120.0200.03316.32
5.4.110.0230.03316.39
5.4.100.0300.03016.21
5.4.90.0230.03716.34
5.4.80.0200.03316.45
5.4.70.0200.04016.29
5.4.60.0170.04016.43
5.4.50.0200.03016.31
5.4.40.0230.02716.21
5.4.30.0200.03716.46
5.4.20.0230.03716.36
5.4.10.0270.07316.38
5.4.00.0300.06715.71
5.3.290.0300.08014.71
5.3.280.0230.03314.46
5.3.270.0230.03714.50
5.3.260.0200.03714.44
5.3.250.0270.02714.54
5.3.240.0130.04014.53
5.3.230.0200.03314.55
5.3.220.0130.04014.40
5.3.210.0200.03314.54
5.3.200.0130.04014.41
5.3.190.0200.04314.47
5.3.180.0270.03714.51
5.3.170.0100.04314.41
5.3.160.0200.03314.49
5.3.150.0170.03714.41
5.3.140.0130.04014.64
5.3.130.0130.04014.36
5.3.120.0230.05014.63
5.3.110.0300.03714.41
5.3.100.0200.06313.89
5.3.90.0330.06313.86
5.3.80.0300.06013.81
5.3.70.0330.05713.87
5.3.60.0300.04713.89
5.3.50.0230.04713.78
5.3.40.0230.03714.03
5.3.30.0300.02713.68
5.3.20.0200.03713.64
5.3.10.0200.03313.50
5.3.00.0300.07013.72
5.2.170.0170.05011.19
5.2.160.0300.05011.08
5.2.150.0130.03311.31
5.2.140.0130.03310.97
5.2.130.0200.02711.19
5.2.120.0100.03711.00
5.2.110.0200.03011.11
5.2.100.0200.05311.16
5.2.90.0270.03310.95
5.2.80.0270.04010.98
5.2.70.0230.04710.95
5.2.60.0270.05310.89
5.2.50.0230.04711.11
5.2.40.0200.03311.03
5.2.30.0270.05011.05
5.2.20.0170.05310.81
5.2.10.0200.04710.82
5.2.00.0230.05310.63
5.1.60.0200.03310.11
5.1.50.0230.0479.87
5.1.40.0130.05310.07
5.1.30.0230.04710.30
5.1.20.0230.04710.20
5.1.10.0230.0339.92
5.1.00.0170.0309.99
5.0.50.0100.0339.75
5.0.40.0100.0439.75
5.0.30.0130.0409.75
5.0.20.0130.0409.75
5.0.10.0100.0439.75
5.0.00.0130.0409.75
4.4.90.0070.0339.75
4.4.80.0170.0309.75
4.4.70.0070.0279.75
4.4.60.0100.0239.75
4.4.50.0130.0179.75
4.4.40.0130.0479.75
4.4.30.0130.0339.75
4.4.20.0070.0379.75
4.4.10.0100.0179.75
4.4.00.0070.0379.75
4.3.110.0100.0339.75
4.3.100.0100.0139.75
4.3.90.0100.0339.75
4.3.80.0070.0439.75
4.3.70.0070.0209.75
4.3.60.0070.0209.75
4.3.50.0100.0339.75
4.3.40.0170.0239.75
4.3.30.0030.0379.75
4.3.20.0030.0209.75
4.3.10.0070.0239.75
4.3.00.0070.0179.75