3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new object(); echo is_object($a->b);

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.0140.00798.97
7.3.0rc30.1230.00016.24
7.3.0beta10.0090.00012.64
7.3.0alpha10.0080.00012.40
7.2.80.0040.00816.27
7.2.60.0070.00716.90
7.2.00.0030.00919.29
7.1.200.0040.00415.49
7.1.100.0070.01016.25
7.1.70.0060.00316.87
7.1.60.0070.01719.82
7.1.50.0090.01216.83
7.1.00.0070.07022.27
7.0.200.0060.00616.73
7.0.140.0100.07022.18
7.0.60.0030.08719.93
7.0.50.0000.07317.90
7.0.40.0030.05320.07
7.0.30.0270.07720.17
7.0.20.0300.07320.16
7.0.10.0230.08320.09
7.0.00.0100.07720.08
5.6.280.0030.07321.08
5.6.210.0100.07720.66
5.6.200.0170.07718.11
5.6.190.0030.04320.45
5.6.180.3470.05720.35
5.6.170.0230.08320.38
5.6.160.0000.06320.49
5.6.150.0170.07718.08
5.6.140.0000.05718.16
5.6.130.0130.04018.20
5.6.120.0000.04321.02
5.6.110.0100.08020.98
5.6.100.0130.07021.13
5.6.90.0030.08721.13
5.6.80.0100.08020.46
5.5.350.0030.07320.33
5.5.340.0100.06317.99
5.5.330.0130.07720.43
5.5.320.0230.04020.29
5.5.310.0200.03720.17
5.5.300.0000.06718.01
5.5.290.0070.04317.95
5.5.280.0100.07720.94
5.5.270.0070.06720.76
5.5.260.0100.04720.83
5.5.250.0070.05320.61
5.5.240.0100.07320.20
5.4.450.0170.06319.63
5.4.440.0500.05719.63
5.4.430.0070.06019.46
5.4.420.0030.06019.25
5.4.410.0030.06319.42
5.4.400.1170.00018.81
5.4.390.0830.00018.59
5.4.380.0200.05718.68
5.4.370.0930.05718.71
5.4.360.1030.05318.79
5.4.350.1330.04718.64
5.4.340.0670.06018.63
5.4.320.0080.03712.45
5.4.310.0070.03912.45
5.4.300.0100.04112.45
5.4.290.0080.04312.45
5.4.280.0100.03712.35
5.4.270.0100.05018.88
5.4.260.0300.05018.84
5.4.250.0070.05718.92
5.4.240.0070.07019.03
5.4.230.0200.06718.80
5.4.220.0130.05318.73
5.4.210.0200.06019.03
5.4.200.0030.07718.99
5.4.190.0030.06018.64
5.4.180.0130.06718.90
5.4.170.0030.06718.95
5.4.160.0130.06718.87
5.4.150.0130.04718.89
5.4.140.0070.06316.28
5.4.130.0100.06716.26
5.4.120.0030.05016.29
5.4.110.0170.04016.42
5.4.100.0030.06016.34
5.4.90.0100.06316.42
5.4.80.0030.05016.41
5.4.70.0030.07016.48
5.4.60.0100.05716.48
5.4.50.0130.04016.42
5.4.40.0130.06016.26
5.4.30.0170.05716.46
5.4.20.0100.06316.26
5.4.10.0100.04716.25
5.4.00.0000.07715.74
5.3.290.0090.04412.80
5.3.280.0030.05314.36
5.3.270.0070.05714.59
5.3.260.0100.05014.46
5.3.250.0230.05314.61
5.3.240.0170.06014.61
5.3.230.0130.05014.45
5.3.220.0130.06714.65
5.3.210.0030.05714.66
5.3.200.0070.05014.71
5.3.190.0070.07714.52
5.3.180.0070.05314.33
5.3.170.0130.06014.57
5.3.160.0130.05014.33
5.3.150.0130.04714.57
5.3.140.0070.06014.32
5.3.130.0070.05714.43
5.3.120.0200.04314.56
5.3.110.0030.08014.46
5.3.100.0170.04013.90
5.3.90.0030.05314.00
5.3.80.0200.04314.06
5.3.70.0130.05314.02
5.3.60.0000.05313.95
5.3.50.0000.06313.84
5.3.40.0100.07013.95
5.3.30.0070.05014.05
5.3.20.0070.05013.78
5.3.10.0170.06013.53
5.3.00.0000.05313.66
5.2.170.0030.04311.29
5.2.160.0200.04311.23
5.2.150.0100.04311.16
5.2.140.0070.04311.05
5.2.130.0070.04010.98
5.2.120.0000.04311.02
5.2.110.0100.04011.09
5.2.100.0070.05011.19
5.2.90.0000.04311.10
5.2.80.0030.04311.10
5.2.70.0070.04010.85
5.2.60.0170.04711.05
5.2.50.0070.04010.93
5.2.40.0070.04011.00
5.2.30.0100.04710.88
5.2.20.0030.04010.71
5.2.10.0070.05310.86
5.2.00.0100.05310.64
5.1.60.0030.03710.08
5.1.50.0100.04010.18
5.1.40.0100.0339.93
5.1.30.0100.03010.50
5.1.20.0030.05310.34
5.1.10.0030.03710.16
5.1.00.0070.0439.83
5.0.50.0000.0438.51
5.0.40.0030.0378.34
5.0.30.0100.0378.14
5.0.20.0170.0238.33
5.0.10.0000.0338.36
5.0.00.0000.0578.14
4.4.90.0170.0176.32
4.4.80.0000.0236.32
4.4.70.0000.0306.32
4.4.60.0000.0306.32
4.4.50.0100.0136.32
4.4.40.0030.0406.32
4.4.30.0000.0306.32
4.4.20.0030.0236.32
4.4.10.0070.0306.32
4.4.00.0170.0276.32
4.3.110.0000.0236.32
4.3.100.0070.0236.32
4.3.90.0000.0236.32
4.3.80.0070.0336.32
4.3.70.0070.0176.32
4.3.60.0030.0276.32
4.3.50.0100.0176.32
4.3.40.0030.0306.32
4.3.30.0030.0206.32
4.3.20.0000.0236.32
4.3.10.0030.0306.32
4.3.00.0030.0277.29