3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(!!('' != null)); var_dump((null != '')); var_dump(!!(''));

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.0rc40.0120.00898.97
7.3.0rc30.0200.00016.29
7.3.0beta10.0040.00712.63
7.3.0alpha10.0110.00412.40
7.2.60.0080.00816.74
7.2.00.0070.00719.21
7.1.200.0000.00915.57
7.1.100.0040.01118.04
7.1.70.0130.00016.81
7.1.60.0000.01119.82
7.1.50.0090.01616.80
7.1.00.0030.07722.51
7.0.200.0120.00016.73
7.0.140.0000.07722.10
7.0.60.0170.07320.02
7.0.50.0070.08017.87
7.0.40.0070.04319.98
7.0.30.0270.06720.20
7.0.20.0270.05320.02
7.0.10.0270.06320.13
7.0.00.0100.04320.33
5.6.280.0100.06720.91
5.6.210.0100.05320.60
5.6.200.0170.06718.19
5.6.190.0100.05020.66
5.6.180.3370.03720.35
5.6.170.0370.08020.33
5.6.160.0100.05320.51
5.6.150.0070.05718.17
5.6.140.0170.07018.09
5.6.130.0100.08318.10
5.6.120.0070.08721.01
5.6.110.0170.03020.95
5.6.100.0030.08720.95
5.6.90.0100.06020.96
5.6.80.0070.08320.40
5.6.70.0130.03720.47
5.5.350.0000.07320.41
5.5.340.0030.08717.91
5.5.330.0130.07720.46
5.5.320.0170.07720.13
5.5.310.0300.07320.17
5.5.300.0100.03717.87
5.5.290.0170.07318.00
5.5.280.0000.09720.89
5.5.270.0030.04020.67
5.5.260.0100.06720.63
5.5.250.0070.08320.68
5.5.240.0000.04320.34
5.4.450.0430.06719.65
5.4.440.0170.05719.47
5.4.430.0100.05719.15
5.4.420.0200.06719.15
5.4.410.0070.06019.14
5.4.400.0070.05718.80
5.4.390.0130.04718.70
5.4.380.0100.06018.68
5.4.370.0170.05018.73
5.4.360.0170.04718.71
5.4.350.0200.05018.73
5.4.340.0070.05718.63
5.4.320.0090.03812.45
5.4.310.0040.04212.45
5.4.300.0050.03612.45
5.4.290.0060.04512.45
5.4.280.0110.04012.34
5.4.270.0170.06719.07
5.4.260.0070.05718.79
5.4.250.0100.06318.93
5.4.240.0130.07318.78
5.4.230.0170.07318.93
5.4.220.0130.07319.00
5.4.210.0030.06018.97
5.4.200.0000.06718.84
5.4.190.0170.05018.95
5.4.180.0070.07719.15
5.4.170.0100.05318.93
5.4.160.0100.06718.97
5.4.150.0200.05018.98
5.4.140.0070.06316.54
5.4.130.0070.07316.39
5.4.120.0170.05316.55
5.4.110.0070.05316.36
5.4.100.0130.05016.55
5.4.90.0100.06016.57
5.4.80.0030.05316.51
5.4.70.0100.07316.54
5.4.60.0100.05716.27
5.4.50.0100.05716.49
5.4.40.0100.06316.54
5.4.30.0130.06716.59
5.4.20.0130.06716.53
5.4.10.0130.04716.54
5.4.00.0030.06015.93
5.3.290.0070.04612.80
5.3.280.0070.05314.65
5.3.270.0100.06314.74
5.3.260.0100.07714.59
5.3.250.0100.07314.69
5.3.240.0130.07014.76
5.3.230.0100.05314.73
5.3.220.0130.07014.62
5.3.210.0070.05714.55
5.3.200.0170.06714.55
5.3.190.0100.05314.60
5.3.180.0070.07314.75
5.3.170.0100.06714.61
5.3.160.0030.06014.36
5.3.150.0070.05714.63
5.3.140.0070.06014.61
5.3.130.0230.06014.71
5.3.120.0100.05714.74
5.3.110.0100.08014.68
5.3.100.0130.04714.09
5.3.90.0030.06014.07
5.3.80.0030.06014.18
5.3.70.0030.05314.18
5.3.60.0170.04313.98
5.3.50.0130.04713.93
5.3.40.0130.05014.10
5.3.30.0270.03013.96
5.3.20.0030.07013.50
5.3.10.0070.06013.81
5.3.00.0030.05713.75
5.2.170.0170.05011.13
5.2.160.0100.03711.28
5.2.150.0070.04711.26
5.2.140.0170.04011.30
5.2.130.0070.04011.31
5.2.120.0030.04711.29
5.2.110.0070.05311.20
5.2.100.0070.04311.29
5.2.90.0030.04311.32
5.2.80.0070.04311.22
5.2.70.0070.04711.22
5.2.60.0100.05011.03
5.2.50.0100.04711.23
5.2.40.0070.04011.11
5.2.30.0130.04010.95
5.2.20.0030.05011.05
5.2.10.0170.04310.90
5.2.00.0070.05310.70
5.1.60.0070.04710.02
5.1.50.0030.05310.07
5.1.40.0070.04710.11
5.1.30.0070.03710.38
5.1.20.0070.03710.50
5.1.10.0100.04310.36
5.1.00.0000.05010.37
5.0.50.0070.0338.76
5.0.40.0100.0308.38
5.0.30.0070.0438.41
5.0.20.0070.0338.48
5.0.10.0000.0408.38
5.0.00.0000.0538.34
4.4.90.0070.0277.45
4.4.80.0000.0337.45
4.4.70.0030.0277.45
4.4.60.0100.0237.45
4.4.50.0030.0307.45
4.4.40.0030.0337.45
4.4.30.0030.0237.45
4.4.20.0030.0237.45
4.4.10.0030.0277.45
4.4.00.0070.0407.45
4.3.110.0030.0307.45
4.3.100.0000.0337.45
4.3.90.0000.0307.45
4.3.80.0070.0437.45
4.3.70.0070.0277.45
4.3.60.0000.0307.45
4.3.50.0030.0237.45
4.3.40.0130.0307.45
4.3.30.0030.0307.45
4.3.20.0070.0237.45
4.3.10.0100.0177.45
4.3.00.0130.0176.88