3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( -1 / pow(10, 9999) );

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.0140.00017.14
7.2.00.0040.00819.46
7.1.200.0060.00615.91
7.1.100.0070.01017.99
7.1.70.0000.00717.20
7.1.60.0000.02419.17
7.1.50.0030.01417.02
7.1.00.0070.05022.74
7.0.200.0000.00816.84
7.0.140.0030.07322.41
7.0.100.0130.08020.20
7.0.90.0000.06320.16
7.0.80.0270.05020.12
7.0.70.0030.06020.11
7.0.60.0070.04320.06
7.0.50.0030.08320.51
7.0.40.0100.07020.25
7.0.30.0100.08020.39
7.0.20.0070.07720.38
7.0.10.0170.07320.39
7.0.00.0170.07720.25
5.6.280.0000.07721.09
5.6.250.0030.06020.75
5.6.240.0100.07720.93
5.6.230.0070.05020.76
5.6.220.0030.04320.87
5.6.210.0130.07720.73
5.6.200.0070.08321.21
5.6.190.0100.08021.24
5.6.180.0030.08021.35
5.6.170.0070.08321.38
5.6.160.0070.08721.39
5.6.150.0070.08321.38
5.6.140.0130.07021.27
5.6.130.0030.07721.38
5.6.120.0030.05321.35
5.6.110.0030.05321.27
5.6.100.0030.06721.36
5.6.90.0100.04721.33
5.6.80.0030.06320.76
5.6.70.0070.03720.68
5.6.60.0030.04020.75
5.6.50.0030.08020.59
5.6.40.0130.06720.74
5.6.30.0070.06320.68
5.6.20.0030.05020.73
5.6.10.0070.08020.63
5.6.00.0170.06020.56
5.5.380.0100.08320.63
5.5.370.0170.07320.73
5.5.360.0100.07020.64
5.5.350.0100.07320.68
5.5.340.0070.03721.16
5.5.330.0030.07321.20
5.5.320.0200.07021.21
5.5.310.0200.06321.13
5.5.300.0130.07321.06
5.5.290.0030.09321.09
5.5.280.0070.04721.08
5.5.270.0100.07320.90
5.5.260.0000.09321.07
5.5.250.0170.07320.79
5.5.240.0170.07020.50
5.5.230.0030.08020.45
5.5.220.0030.05320.29
5.5.210.0130.06320.51
5.5.200.0070.08020.39
5.5.190.0000.08020.45
5.5.180.0070.03720.26
5.5.160.0000.04020.46
5.5.150.0070.07320.42
5.5.140.0170.06720.43
5.5.130.0070.07720.55
5.5.120.0030.08020.44
5.5.110.0070.08020.42
5.5.100.0100.07320.38
5.5.90.0030.07320.36
5.5.80.0100.07320.22
5.5.70.0070.05020.34
5.5.60.0070.07020.18
5.5.50.0000.04320.27
5.5.40.0100.07720.29
5.5.30.0070.05320.41
5.5.20.0130.05320.38
5.5.10.0100.07720.29
5.5.00.0000.04320.27
5.4.450.0100.07019.80
5.4.440.0130.07719.61
5.4.430.0130.04019.63
5.4.420.0200.06319.58
5.4.410.0100.07719.69
5.4.400.0000.04019.25
5.4.390.0100.07319.25
5.4.380.0130.06719.16
5.4.370.0070.07719.03
5.4.360.0030.07719.14
5.4.350.0170.07019.16
5.4.340.0070.06319.29
5.4.320.0200.06319.38
5.4.310.0130.02719.21
5.4.300.0030.07319.37
5.4.290.0070.07319.11
5.4.280.0070.07319.39
5.4.270.0070.06719.32
5.4.260.0070.07719.33
5.4.250.0130.07019.18
5.4.240.0070.06319.16
5.4.230.0200.06719.02
5.4.220.0070.05319.13
5.4.210.0100.06319.31
5.4.200.0000.04319.11
5.4.190.0030.07719.27
5.4.180.0070.06319.20
5.4.170.0070.07719.23
5.4.160.0100.03319.14
5.4.150.0130.06019.26
5.4.140.0070.07016.52
5.4.130.0130.06316.65
5.4.120.0170.03716.50
5.4.110.0100.06716.52
5.4.100.0030.04716.64
5.4.90.0030.07316.51
5.4.80.0100.05716.56
5.4.70.0030.05016.55
5.4.60.0070.05316.58
5.4.50.0070.03316.61
5.4.40.0100.05016.57
5.4.30.0070.07016.48
5.4.20.0170.06316.60
5.4.10.0130.05316.50
5.4.00.0070.06716.02
5.3.290.0000.04314.80
5.3.280.0070.07314.75
5.3.270.0130.06014.75
5.3.260.0000.06014.70
5.3.250.0070.06714.76
5.3.240.0000.07714.80
5.3.230.0030.07014.75
5.3.220.0070.07314.80
5.3.210.0000.05014.66
5.3.200.0030.07014.67
5.3.190.0130.05014.79
5.3.180.0070.07314.62
5.3.170.0070.06714.69
5.3.160.0070.07014.70
5.3.150.0200.05314.72
5.3.140.0030.07314.68
5.3.130.0100.06314.69
5.3.120.0170.06714.70
5.3.110.0100.06314.68
5.3.100.0100.06314.18
5.3.90.0100.07314.13
5.3.80.0070.07314.25
5.3.70.0000.08014.17
5.3.60.0070.07714.00
5.3.50.0030.07314.10
5.3.40.0070.06714.07
5.3.30.0030.05314.05
5.3.20.0070.07013.83
5.3.10.0030.04013.79
5.3.00.0030.05013.76
5.2.170.0000.06711.23
5.2.160.0100.05311.35
5.2.150.0030.06011.37
5.2.140.0030.03011.32
5.2.130.0070.06011.24
5.2.120.0030.06011.16
5.2.110.0030.06011.30
5.2.100.0070.05711.13
5.2.90.0070.03311.21
5.2.80.0030.06011.29
5.2.70.0070.06311.31
5.2.60.0100.05311.27
5.2.50.0000.04311.11
5.2.40.0030.03311.19
5.2.30.0030.06011.20
5.2.20.0130.04711.18
5.2.10.0030.06011.04
5.2.00.0100.05011.03
5.1.60.0030.03710.22
5.1.50.0000.06310.20
5.1.40.0070.03710.15
5.1.30.0070.04310.62
5.1.20.0100.05010.55
5.1.10.0030.03710.27
5.1.00.0030.04710.18
5.0.50.0000.0378.86
5.0.40.0070.0378.49
5.0.30.0070.0538.36
5.0.20.0070.0438.37
5.0.10.0030.0338.46
5.0.00.0000.0638.39
4.4.90.0030.0338.07
4.4.80.0070.0338.07
4.4.70.0030.0178.07
4.4.60.0030.0338.07
4.4.50.0070.0338.07
4.4.40.0000.0478.07
4.4.30.0070.0208.07
4.4.20.0070.0308.07
4.4.10.0000.0278.07
4.4.00.0030.0538.07
4.3.110.0000.0238.07
4.3.100.0100.0278.07
4.3.90.0000.0338.07
4.3.80.0070.0508.07
4.3.70.0000.0378.07
4.3.60.0070.0238.07
4.3.50.0100.0238.07
4.3.40.0000.0308.07
4.3.30.0000.0378.07
4.3.20.0000.0208.07
4.3.10.0030.0338.07
4.3.00.0000.0378.07