3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (int) "0" ? 1 : "mana";
based on 6iL7M

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.00.0040.01219.04
7.1.100.0070.00718.04
7.1.70.0000.00717.06
7.1.60.0110.01419.46
7.1.50.0100.01016.86
7.1.00.0070.07322.25
7.0.200.0040.00416.68
7.0.140.0030.03722.08
7.0.60.0000.07319.79
7.0.50.0030.04017.78
7.0.40.0130.08319.96
7.0.30.0330.07320.33
7.0.20.0230.07320.19
7.0.10.0070.07720.33
7.0.00.0130.08320.12
5.6.280.0100.06721.04
5.6.210.0100.07320.72
5.6.200.0030.04018.22
5.6.190.0030.05720.43
5.6.180.0530.06320.29
5.6.170.0400.07720.54
5.6.160.0170.05320.38
5.6.150.0000.06718.12
5.6.140.0100.06718.21
5.6.130.0030.08318.21
5.6.120.0130.06021.14
5.6.110.0070.08320.98
5.6.100.0100.03321.10
5.6.90.0100.04020.96
5.6.80.0130.07320.38
5.5.350.3800.03720.32
5.5.340.0100.07717.89
5.5.330.0030.08720.43
5.5.320.2730.04320.21
5.5.310.0430.05720.31
5.5.300.0170.07317.92
5.5.290.0030.06717.95
5.5.280.0000.09320.95
5.5.270.0130.07720.71
5.5.260.0030.04320.64
5.5.250.0200.07320.57
5.5.240.0030.08020.34
5.4.450.0630.04719.52
5.4.440.0500.06019.10
5.4.430.0070.06719.32
5.4.420.0070.06019.42
5.4.410.0100.05319.04
5.4.400.0130.05018.96
5.4.390.0130.06018.58
5.4.380.0170.05718.46
5.4.370.0200.05018.68
5.4.360.0200.05718.72
5.4.350.0170.06018.59
5.4.340.0230.05318.50
5.4.320.0170.05318.52
5.4.310.0270.05018.68
5.4.300.0170.06018.50
5.4.290.0430.04318.73
5.4.280.0230.05018.61
5.4.270.0200.05018.61
5.4.260.0170.06018.60
5.4.250.0300.04318.71
5.4.240.0200.05318.62
5.4.230.0170.05318.48
5.4.220.0230.05018.65
5.4.210.0130.05718.49
5.4.200.0230.04316.45
5.4.190.0170.05318.72
5.4.180.0170.05718.70
5.4.170.0230.05018.63
5.4.160.0230.05018.57
5.4.150.0130.07018.73
5.4.140.0200.05016.07
5.4.130.0300.04016.16
5.4.120.0170.05016.16
5.4.110.0170.05016.31
5.4.100.0200.06316.21
5.4.90.0200.05016.25
5.4.80.0200.05316.04
5.4.70.0100.06016.14
5.4.60.0170.05316.19
5.4.50.0170.07316.12
5.4.40.0270.05316.09
5.4.30.0230.05316.12
5.4.20.0230.07316.12
5.4.10.0200.05316.11
5.4.00.0300.04715.76
5.3.290.0200.06714.75
5.3.280.0230.06314.59
5.3.270.0230.07314.70
5.3.260.0200.05014.55
5.3.250.0170.05714.51
5.3.240.0170.06314.53
5.3.230.0130.05714.67
5.3.220.0130.05314.54
5.3.210.0200.05314.63
5.3.200.0170.06314.65
5.3.190.0270.04314.54
5.3.180.0170.05714.59
5.3.170.0270.05014.49
5.3.160.0100.05714.54
5.3.150.0100.05714.55
5.3.140.0200.04714.53
5.3.130.0130.05714.51
5.3.120.0200.05014.55
5.3.110.0230.05014.53
5.3.100.0230.06314.03
5.3.90.0200.05013.91
5.3.80.0130.05313.96
5.3.70.0230.04714.09
5.3.60.0130.05713.89
5.3.50.0200.05314.01
5.3.40.0300.03713.90
5.3.30.0200.04713.90
5.3.20.0130.05313.64
5.3.10.0100.06013.64
5.3.00.0100.06713.63
5.2.170.0170.04011.29
5.2.160.0030.05011.29
5.2.150.0170.04011.13
5.2.140.0200.03711.06
5.2.130.0170.03711.07
5.2.120.0100.04311.07
5.2.110.0070.04711.03
5.2.100.0100.04311.01
5.2.90.0170.04711.14
5.2.80.0170.05711.23
5.2.70.0300.04311.05
5.2.60.0100.04710.95
5.2.50.0130.06010.93
5.2.40.0230.03310.99
5.2.30.0170.04710.96
5.2.20.0230.03311.10
5.2.10.0230.03310.85
5.2.00.0130.04010.81
5.1.60.0130.03310.08
5.1.50.0130.0339.99
5.1.40.0100.0339.93
5.1.30.0170.03310.34
5.1.20.0130.03310.34
5.1.10.0200.03310.08
5.1.00.0100.03710.03
5.0.50.0070.0408.68
5.0.40.0100.0378.38
5.0.30.0100.0578.20
5.0.20.0030.0338.37
5.0.10.0070.0308.14
5.0.00.0030.0478.33
4.4.90.0100.0205.88
4.4.80.0000.0275.88
4.4.70.0200.0175.90
4.4.60.0070.0235.87
4.4.50.0070.0235.90
4.4.40.0100.0335.96
4.4.30.0070.0235.89
4.4.20.0130.0175.93
4.4.10.0130.0175.97
4.4.00.0030.0375.88
4.3.110.0170.0135.88
4.3.100.0070.0205.80
4.3.90.0030.0235.91
4.3.80.0030.0405.81
4.3.70.0170.0205.91
4.3.60.0130.0175.90
4.3.50.0030.0305.79
4.3.40.0170.0235.79
4.3.30.0030.0234.68
4.3.20.0000.0274.63
4.3.10.0070.0204.48
4.3.00.0070.0238.77