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 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.100.1190.00614.69
7.2.90.1010.00614.64
7.2.80.1120.01014.41
7.2.70.0570.00815.72
7.2.60.0480.00816.16
7.2.50.0490.01116.08
7.2.40.0490.01316.46
7.2.30.0870.01216.54
7.2.20.0680.01016.51
7.2.10.0680.00616.59
7.2.00.0520.00816.51
7.1.220.1070.01313.82
7.1.210.1230.01013.69
7.1.200.0580.00514.73
7.1.190.1650.01013.94
7.1.180.1160.00613.59
7.1.170.0430.00614.85
7.1.160.0690.01315.29
7.1.150.0510.00815.31
7.1.140.0630.01015.50
7.1.130.0570.00815.36
7.1.120.0460.01015.25
7.1.110.0480.00914.98
7.1.100.0770.00714.63
7.1.90.0580.00614.38
7.1.80.0750.00414.54
7.1.70.0820.00714.13
7.1.60.0790.01132.15
7.1.50.0660.01532.08
7.1.40.1010.01231.91
7.1.30.0750.01231.96
7.1.20.0590.01132.08
7.1.10.0600.00813.85
7.1.00.0570.00714.08
7.0.310.1280.00713.46
7.0.300.0810.00814.19
7.0.290.0790.00915.01
7.0.280.1200.00613.47
7.0.270.0510.00714.89
7.0.260.0560.00714.86
7.0.250.0810.00814.32
7.0.240.0750.00614.26
7.0.230.0690.00814.38
7.0.220.0640.00714.28
7.0.210.0740.00913.88
7.0.200.0920.00913.87
7.0.190.0630.00813.84
7.0.180.0550.01013.71
7.0.170.0630.00913.68
7.0.160.0640.01013.75
7.0.150.1090.01213.69
7.0.140.0690.00913.72
7.0.130.0580.00513.66
7.0.120.0440.01013.73
7.0.110.0550.00713.73
7.0.100.0440.00713.81
7.0.90.0530.00913.70
7.0.80.0610.00813.72
7.0.70.0610.00713.59
7.0.60.0550.01113.70
7.0.50.0590.00613.69
7.0.40.0530.00513.83
7.0.30.0490.00913.90
7.0.20.0500.00613.83
7.0.10.0630.00713.93
7.0.00.0520.00813.80
hhvm-3.22.00.1040.19890.07
hhvm-3.21.30.0920.18589.11
hhvm-3.21.00.1290.21188.88
hhvm-3.20.20.1220.20989.62
hhvm-3.19.20.1180.23688.52
hhvm-3.18.50.0910.19387.61
hhvm-3.18.40.1150.21487.23
hhvm-3.17.30.1220.18786.38
hhvm-3.15.40.1030.18484.08
hhvm-3.13.20.1150.20495.66
hhvm-3.12.140.1270.21894.29
hhvm-3.11.10.1330.19886.52
hhvm-3.10.10.1060.19483.62
5.6.380.0040.00814.21
5.6.370.0140.00914.25
5.6.360.0110.01114.30
5.6.350.0120.00814.11
5.6.340.0160.00613.93
5.6.330.0170.00714.27
5.6.320.0140.00813.97
5.6.310.0140.00514.33
5.6.300.0130.02616.30
5.6.290.0220.02416.29
5.6.280.0120.02716.25
5.6.270.0130.02816.34
5.6.260.0120.02416.20
5.6.250.0130.02716.35
5.6.240.0120.02616.36
5.6.230.0110.02816.33
5.6.220.0110.02516.46
5.6.210.0150.02316.27
5.6.200.0150.02416.28
5.6.190.0170.02316.34
5.6.180.0160.02416.44
5.6.170.0150.02316.32
5.6.160.0150.02416.29
5.6.150.0170.02116.38
5.6.140.0180.02216.24
5.6.130.0150.02316.36
5.6.120.0120.03116.44
5.6.110.0130.03016.24
5.6.100.0120.03516.42
5.6.90.0160.02916.33
5.6.80.0150.02716.15
5.6.70.0150.02716.05
5.6.60.0110.03116.01
5.6.50.0150.02415.99
5.6.40.0130.02415.96
5.6.30.0140.02216.14
5.6.20.0140.03216.06
5.6.10.0170.02816.15
5.6.00.0120.02716.04
5.5.380.0090.02513.19
5.5.370.0100.02313.13
5.5.360.0150.02113.22
5.5.350.0120.02113.09
5.5.340.0130.02013.12
5.5.330.0120.02313.28
5.5.320.0110.02813.30
5.5.310.0140.02013.33
5.5.300.0140.02013.37
5.5.290.0130.02613.24
5.5.280.0080.03313.28
5.5.270.0130.02613.37
5.5.260.0120.02313.27
5.5.250.0140.02813.08
5.5.240.0100.02113.11
5.5.230.0140.02613.06
5.5.220.0130.02413.04
5.5.210.0130.02113.13
5.5.200.0100.02512.89
5.5.190.0080.02713.11
5.5.180.0120.02613.03
5.5.170.0090.00914.03
5.5.160.0110.02513.01
5.5.150.0130.02113.10
5.5.140.0100.02213.05
5.5.130.0170.01913.08
5.5.120.0130.02013.02
5.5.110.0100.02513.06
5.5.100.0110.02113.03
5.5.90.0150.01713.06
5.5.80.0090.02212.93
5.5.70.0140.02013.01
5.5.60.0130.01913.06
5.5.50.0120.02212.99
5.5.40.0090.02312.96
5.5.30.0100.02212.98
5.5.20.0110.02112.95
5.5.10.0100.02113.01
5.5.00.0130.02413.10
5.4.450.0150.02613.84
5.4.440.0140.02713.61
5.4.430.0100.02213.80
5.4.420.0140.02413.67
5.4.410.0130.02713.71
5.4.400.0140.02413.54
5.4.390.0110.02013.66
5.4.380.0120.02713.61
5.4.370.0130.02013.59
5.4.360.0100.02313.52
5.4.350.0150.02313.57
5.4.340.0110.02213.66
5.4.330.0120.00011.05
5.4.320.0130.01913.67
5.4.310.0120.02013.63
5.4.300.0090.02213.66
5.4.290.0100.02113.61
5.4.280.0100.02213.49
5.4.270.0090.02213.57
5.4.260.0120.02013.58
5.4.250.0120.02013.65
5.4.240.0120.02113.59
5.4.230.0130.01913.61
5.4.220.0100.02113.60
5.4.210.0110.02113.63
5.4.200.0120.02013.54
5.4.190.0120.02113.56
5.4.180.0130.01913.58
5.4.170.0150.02113.59
5.4.160.0120.02113.57
5.4.150.0140.02413.62
5.4.140.0090.02112.81
5.4.130.0130.01912.80
5.4.120.0070.02612.73
5.4.110.0110.02512.73
5.4.100.0130.02212.80
5.4.90.0110.02012.71
5.4.80.0120.01812.75
5.4.70.0110.02112.66
5.4.60.0130.01612.73
5.4.50.0110.02312.83
5.4.40.0110.01912.82
5.4.30.0070.02312.73
5.4.20.0070.02412.73
5.4.10.0090.02212.75
5.4.00.0100.02112.51
5.3.290.0100.02011.98
5.3.280.0100.02212.00
5.3.270.0080.02312.04
5.3.260.0150.02012.02
5.3.250.0120.02011.98
5.3.240.0110.02111.90
5.3.230.0130.01611.91
5.3.220.0120.02311.95
5.3.210.0090.02211.99
5.3.200.0130.02111.80
5.3.190.0090.02311.97
5.3.180.0110.02312.05
5.3.170.0140.01712.06
5.3.160.0120.01912.06
5.3.150.0110.01912.01
5.3.140.0090.02711.94
5.3.130.0120.01912.02
5.3.120.0100.02011.99
5.3.110.0120.02311.94
5.3.100.0130.01811.84
5.3.90.0120.01711.79
5.3.80.0080.02111.73
5.3.70.0120.01811.73
5.3.60.0080.02211.78
5.3.50.0060.02311.78
5.3.40.0090.02411.68
5.3.30.0080.02011.72
5.3.20.0110.01611.56
5.3.10.0100.02011.62
5.3.00.0100.02111.63
5.2.170.0040.02110.51
5.2.160.0040.02110.57
5.2.150.0110.01410.53
5.2.140.0050.01910.48
5.2.130.0050.02010.48
5.2.120.0110.01410.56
5.2.110.0080.02010.46
5.2.100.0060.01810.56
5.2.90.0090.01910.46
5.2.80.0110.01710.41
5.2.70.0080.01710.40
5.2.60.0100.01410.40
5.2.50.0070.01810.39
5.2.40.0090.01410.45
5.2.30.0040.02010.39
5.2.20.0090.01510.43
5.2.10.0090.01510.43
5.2.00.0090.01710.25
5.1.60.0080.01610.00
5.1.50.0100.0139.99
5.1.40.0090.01510.00
5.1.30.0080.01610.14
5.1.20.0070.01510.04
5.1.10.0050.01910.09
5.1.00.0080.01610.00
5.0.50.0040.0149.47
5.0.40.0070.0099.52
5.0.30.0070.0199.47
5.0.20.0050.0129.43
5.0.10.0050.0149.45
5.0.00.0060.0149.38
4.4.90.0050.0109.38
4.4.80.0040.0119.38
4.4.70.0060.0109.38
4.4.60.0050.0099.38
4.4.50.0060.0099.38
4.4.40.0040.0149.38
4.4.30.0060.0089.38
4.4.20.0040.0099.38
4.4.10.0050.0119.38
4.4.00.0060.0149.38
4.3.110.0010.0129.38
4.3.100.0060.0109.38
4.3.90.0050.0119.38
4.3.80.0040.0159.38
4.3.70.0030.0129.38
4.3.60.0040.0129.38
4.3.50.0030.0139.38
4.3.40.0060.0149.38
4.3.30.0040.0109.38
4.3.20.0040.0119.38
4.3.10.0040.0109.38
4.3.00.0060.0099.38