3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "0.02"; var_dump($str > 0);
based on 9ROCm

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.00616.36
7.3.00.0030.00716.45
7.2.130.0030.00716.38
7.2.120.0040.01916.31
7.2.110.0030.01316.39
7.2.100.0070.01116.47
7.2.90.0090.00616.19
7.2.80.0030.01216.10
7.2.70.0100.00316.09
7.2.60.0110.00816.70
7.2.50.0070.01016.18
7.2.40.0100.01016.63
7.2.30.0030.01316.54
7.2.20.0040.01216.57
7.2.10.0150.00416.59
7.2.00.0020.01317.91
7.1.250.0080.00815.15
7.1.200.0040.00815.61
7.1.100.0110.00717.89
7.1.70.0040.00817.09
7.1.60.0140.01119.46
7.1.50.0060.00616.66
7.1.00.0030.07722.37
7.0.200.0000.00716.72
7.0.140.0030.03322.02
7.0.60.0000.04319.92
7.0.50.0070.07317.88
7.0.40.0100.08720.21
7.0.30.0270.04020.04
7.0.20.0200.06020.30
7.0.10.0100.06020.16
7.0.00.0170.07320.33
5.6.280.0100.07021.10
5.6.210.0100.03320.47
5.6.200.0030.08318.13
5.6.190.0030.06020.61
5.6.180.0530.07320.39
5.6.170.0230.05720.50
5.6.160.0070.08320.50
5.6.150.0070.07718.16
5.6.140.0070.07718.12
5.6.130.0030.04318.11
5.6.120.0030.05320.89
5.6.110.0130.03721.11
5.6.100.0100.03721.10
5.6.90.0100.08320.87
5.6.80.0070.08320.24
5.5.350.0430.06020.39
5.5.340.0030.06717.89
5.5.330.0100.05720.47
5.5.320.0070.03720.32
5.5.310.0370.07020.17
5.5.300.0070.04017.91
5.5.290.0030.04717.91
5.5.280.0000.04720.88
5.5.270.0130.05320.77
5.5.260.0030.08720.95
5.5.250.0000.08720.68
5.5.240.0000.07320.26
5.4.450.0570.06319.49
5.4.440.0070.06719.43
5.4.430.0130.05319.47
5.4.420.0030.06319.45
5.4.410.0100.05719.57
5.4.400.0100.07319.02
5.4.390.0130.05318.72
5.4.380.0130.05318.48
5.4.370.0270.04018.45
5.4.360.0100.05718.64
5.4.350.0170.05318.58
5.4.340.0200.05018.58
5.4.320.0130.06318.67
5.4.310.0200.05018.42
5.4.300.0230.05018.53
5.4.290.0330.03018.55
5.4.280.0270.04318.54
5.4.270.0170.07018.67
5.4.260.0230.05018.48
5.4.250.0130.05718.77
5.4.240.0200.05018.63
5.4.230.0270.04318.70
5.4.220.0170.05718.72
5.4.210.0200.05018.54
5.4.200.0170.05016.63
5.4.190.0200.05718.68
5.4.180.0170.05318.54
5.4.170.0200.05718.61
5.4.160.0130.05318.62
5.4.150.0200.05018.55
5.4.140.0170.05316.23
5.4.130.0200.04716.40
5.4.120.0170.05316.22
5.4.110.0200.04716.25
5.4.100.0170.06716.29
5.4.90.0170.05316.17
5.4.80.0200.05316.26
5.4.70.0170.05016.03
5.4.60.0200.04716.11
5.4.50.0270.04016.09
5.4.40.0130.05016.18
5.4.30.0170.04716.03
5.4.20.0170.05016.11
5.4.10.0300.04015.97
5.4.00.0170.04715.50
5.3.290.0130.07014.71
5.3.280.0200.04714.50
5.3.270.0100.06314.63
5.3.260.0270.04314.60
5.3.250.0230.04714.67
5.3.240.0100.05714.58
5.3.230.0270.04314.48
5.3.220.0300.04014.51
5.3.210.0130.05714.45
5.3.200.0200.06314.49
5.3.190.0170.05314.66
5.3.180.0230.04714.66
5.3.170.0130.05714.55
5.3.160.0130.05314.48
5.3.150.0100.05714.55
5.3.140.0130.05314.64
5.3.130.0170.05714.52
5.3.120.0100.06014.54
5.3.110.0200.05314.47
5.3.100.0130.05313.98
5.3.90.0170.04714.09
5.3.80.0100.06314.05
5.3.70.0170.07013.91
5.3.60.0130.05314.10
5.3.50.0230.04313.85
5.3.40.0170.06314.04
5.3.30.0170.04713.80
5.3.20.0070.05713.66
5.3.10.0100.05713.62
5.3.00.0200.04313.60
5.2.170.0170.04311.05
5.2.160.0130.04011.07
5.2.150.0130.04011.10
5.2.140.0070.05011.08
5.2.130.0130.04011.11
5.2.120.0100.04011.24
5.2.110.0070.04711.10
5.2.100.0070.04711.05
5.2.90.0170.04311.01
5.2.80.0130.04311.24
5.2.70.0200.03311.05
5.2.60.0100.04310.96
5.2.50.0100.04311.16
5.2.40.0100.04010.97
5.2.30.0130.04011.03
5.2.20.0100.04010.96
5.2.10.0070.04311.02
5.2.00.0230.03310.71
5.1.60.0130.03010.14
5.1.50.0000.04310.05
5.1.40.0100.0379.97
5.1.30.0100.04010.38
5.1.20.0130.04710.41
5.1.10.0030.04310.11
5.1.00.0100.03710.06
5.0.50.0000.0338.59
5.0.40.0030.0378.51
5.0.30.0070.0438.33
5.0.20.0130.0278.22
5.0.10.0070.0278.32
5.0.00.0230.0278.33
4.4.90.0030.0237.06
4.4.80.0130.0137.06
4.4.70.0100.0177.06
4.4.60.0030.0237.06
4.4.50.0130.0137.06
4.4.40.0030.0377.06
4.4.30.0030.0277.06
4.4.20.0070.0207.06
4.4.10.0030.0277.06
4.4.00.0130.0277.06
4.3.110.0030.0237.06
4.3.100.0030.0237.06
4.3.90.0100.0177.06
4.3.80.0170.0237.06
4.3.70.0070.0207.06
4.3.60.0030.0237.06
4.3.50.0000.0277.06
4.3.40.0170.0307.06
4.3.30.0030.0207.06
4.3.20.0000.0277.06
4.3.10.0030.0307.06
4.3.00.0070.0236.68