3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(is_nan((float)'NAN'));
based on stR0i

Here you find the average performance (time & memory) of each version. A greyed 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.20.0110.00917.49
7.2.10.0240.01018.17
7.2.00.0280.00918.42
7.1.140.0300.00716.38
7.1.130.0050.01117.24
7.1.120.0350.01017.28
7.1.110.0120.01216.86
7.1.100.0270.01016.59
7.1.90.0220.01516.51
7.1.80.0280.00816.44
7.1.70.0190.00815.75
7.1.60.0270.02133.71
7.1.50.0300.01033.33
7.1.40.0250.01433.10
7.1.30.0980.01533.10
7.1.20.0260.01333.30
7.1.10.0570.01015.30
7.1.00.0180.00615.31
7.0.270.0110.00916.87
7.0.260.0270.01017.10
7.0.250.0250.01116.42
7.0.240.0290.00616.26
7.0.230.0250.00816.30
7.0.220.0270.00916.24
7.0.210.0190.01115.32
7.0.200.0290.00615.41
7.0.190.0180.01015.29
7.0.180.0180.01014.89
7.0.170.0160.00914.96
7.0.160.0180.00714.92
7.0.150.0150.00815.03
7.0.140.0110.01114.99
7.0.130.0150.00815.21
7.0.120.0130.00915.13
7.0.110.0160.00915.01
7.0.100.0180.00915.05
7.0.90.0140.00814.93
7.0.80.0150.01015.01
7.0.70.0140.01115.11
7.0.60.0130.00914.82
7.0.50.0140.00915.08
7.0.40.0080.01215.09
7.0.30.0130.00815.38
7.0.20.0150.00515.13
7.0.10.0160.00815.12
7.0.00.0140.00915.18
hhvm-3.22.00.0850.20190.50
hhvm-3.21.30.0670.20289.14
hhvm-3.21.00.1010.20989.02
hhvm-3.20.20.0830.21989.32
hhvm-3.19.20.0840.19788.73
hhvm-3.18.50.0610.20986.85
hhvm-3.18.40.0940.22187.37
hhvm-3.17.30.0740.20086.60
hhvm-3.15.40.0710.18384.15
hhvm-3.13.20.0800.20595.58
hhvm-3.12.140.0830.17794.35
hhvm-3.11.10.0830.19086.58
hhvm-3.10.10.0870.19383.68
5.6.300.0150.06420.80
5.6.290.0130.06420.75
5.6.280.0170.06520.79
5.6.270.0120.06520.89
5.6.260.0160.06020.91
5.6.250.0120.07020.79
5.6.240.0140.06420.88
5.6.230.0130.07420.87
5.6.220.0100.06320.89
5.6.210.0140.06620.83
5.6.200.0160.07220.80
5.6.190.0130.07020.76
5.6.180.0110.07020.80
5.6.170.0130.06520.77
5.6.160.0110.06520.78
5.6.150.0090.06220.89
5.6.140.0130.07020.79
5.6.130.0160.06620.85
5.6.120.0150.06320.91
5.6.110.0120.06420.85
5.6.100.0120.06920.93
5.6.90.0140.05920.77
5.6.80.0150.06720.23
5.6.70.0090.06620.12
5.6.60.0170.05420.22
5.6.50.0120.06320.25
5.6.40.0070.06520.19
5.6.30.0070.06220.21
5.6.20.0140.06020.21
5.6.10.0110.06120.09
5.6.00.0170.05720.18
5.5.380.0050.06817.47
5.5.370.0090.06117.41
5.5.360.0110.06817.44
5.5.350.0090.06317.46
5.5.340.0130.06718.01
5.5.330.0100.07117.87
5.5.320.0130.06117.90
5.5.310.0110.06817.85
5.5.300.0140.06818.01
5.5.290.0100.06218.00
5.5.280.0100.06617.94
5.5.270.0160.06117.90
5.5.260.0170.05517.89
5.5.250.0090.06117.69
5.5.240.0130.05617.29
5.5.230.0150.05217.33
5.5.220.0090.06317.23
5.5.210.0070.06217.29
5.5.200.0110.06217.19
5.5.190.0120.06217.24
5.5.180.0150.05917.36
5.5.160.0120.05917.15
5.5.150.0080.05917.35
5.5.140.0110.05617.27
5.5.130.0090.05617.20
5.5.120.0140.06217.15
5.5.110.0110.05817.22
5.5.100.0090.06317.06
5.5.90.0120.05917.19
5.5.80.0100.06017.19
5.5.70.0110.05517.14
5.5.60.0170.05217.08
5.5.50.0140.06917.17
5.5.40.0080.05417.12
5.5.30.0060.06017.21
5.5.20.0120.05817.20
5.5.10.0140.06317.23
5.5.00.0140.06017.11
5.4.450.0210.06119.34
5.4.440.0090.06619.38
5.4.430.0140.06319.20
5.4.420.0110.06519.28
5.4.410.0100.06519.14
5.4.400.0140.05718.97
5.4.390.0090.06219.04
5.4.380.0140.05119.01
5.4.370.0130.06219.00
5.4.360.0100.06018.91
5.4.350.0110.05318.96
5.4.340.0140.05518.91
5.4.320.0110.06318.98
5.4.310.0140.06118.92
5.4.300.0100.05819.01
5.4.290.0160.05819.01
5.4.280.0160.06019.05
5.4.270.0120.05118.95
5.4.260.0120.05218.97
5.4.250.0070.06518.95
5.4.240.0100.06219.06
5.4.230.0130.05318.94
5.4.220.0090.05818.92
5.4.210.0110.05618.87
5.4.200.0100.05419.01
5.4.190.0170.05018.90
5.4.180.0140.05318.94
5.4.170.0120.06118.95
5.4.160.0100.05518.97
5.4.150.0100.06718.94
5.4.140.0130.06116.53
5.4.130.0080.05716.47
5.4.120.0070.05916.44
5.4.110.0080.05616.39
5.4.100.0090.04916.53
5.4.90.0150.05516.49
5.4.80.0120.04916.51
5.4.70.0110.05716.45
5.4.60.0140.04616.51
5.4.50.0170.04516.52
5.4.40.0100.04716.45
5.4.30.0120.05516.37
5.4.20.0120.05216.33
5.4.10.0110.06316.29
5.4.00.0090.05115.93
5.3.290.0070.05914.63
5.3.280.0090.05314.74
5.3.270.0090.06014.64
5.3.260.0130.05014.69
5.3.250.0090.05114.65
5.3.240.0120.05314.70
5.3.230.0060.06214.50
5.3.220.0140.06414.65
5.3.210.0120.05814.58
5.3.200.0050.05914.62
5.3.190.0120.05114.68
5.3.180.0120.06114.55
5.3.170.0130.05214.72
5.3.160.0090.05814.66
5.3.150.0090.05714.49
5.3.140.0090.06114.59
5.3.130.0110.05514.59
5.3.120.0120.05714.60
5.3.110.0150.06514.66
5.3.100.0120.04814.13
5.3.90.0030.06314.03
5.3.80.0170.05314.07
5.3.70.0100.05714.06
5.3.60.0040.05814.07
5.3.50.0060.05713.87
5.3.40.0120.05114.03
5.3.30.0070.05713.88
5.3.20.0060.05913.78
5.3.10.0090.05313.67
5.3.00.0120.05613.74
5.2.170.0110.04411.15
5.2.160.0060.04711.23
5.2.150.0080.04611.15
5.2.140.0100.04311.19
5.2.130.0070.04511.18
5.2.120.0070.04410.95
5.2.110.0110.04111.25
5.2.100.0100.04611.23
5.2.90.0060.04411.26
5.2.80.0100.04111.06
5.2.70.0060.04511.07
5.2.60.0100.04011.23
5.2.50.0090.04211.08
5.2.40.0110.04411.04
5.2.30.0100.04311.05
5.2.20.0100.04011.11
5.2.10.0080.04711.00
5.2.00.0050.04610.71
5.1.60.0090.03710.07
5.1.50.0000.04110.08
5.1.40.0080.04010.14
5.1.30.0060.04510.56
5.1.20.0050.03710.48
5.1.10.0090.03810.19
5.1.00.0110.03710.26
5.0.50.0060.0339.31
5.0.40.0070.0329.31
5.0.30.0060.0459.31
5.0.20.0070.0289.31
5.0.10.0080.0309.31
5.0.00.0060.0459.31
4.4.90.0030.0249.31
4.4.80.0050.0229.31
4.4.70.0060.0239.31
4.4.60.0060.0229.31
4.4.50.0070.0249.31
4.4.40.0010.0359.31
4.4.30.0080.0209.31
4.4.20.0060.0239.31
4.4.10.0030.0279.31
4.4.00.0100.0339.31
4.3.110.0030.0289.31
4.3.100.0060.0219.31
4.3.90.0060.0209.31
4.3.80.0070.0359.31
4.3.70.0080.0259.31
4.3.60.0050.0249.31
4.3.50.0040.0229.31
4.3.40.0030.0409.31
4.3.30.0020.0259.31
4.3.20.0020.0249.31
4.3.10.0030.0229.31
4.3.00.0030.0249.31