3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Bar {}; class Foo extends Bar {}; $foo = new Foo(); var_dump(is_sublcass_of($foo, 'Bar'));
based on Wvi6g

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.60.0060.00916.72
7.2.00.0030.01019.39
7.1.200.0050.00515.59
7.1.100.0000.01417.84
7.1.70.0080.00817.11
7.1.60.0270.01035.14
7.1.50.0170.01734.73
7.1.40.0240.00934.26
7.1.30.0310.01134.51
7.1.20.0300.01834.64
7.1.10.0100.01016.38
7.1.00.0060.01316.38
7.0.200.0000.01416.67
7.0.190.0100.00716.76
7.0.180.0090.00616.05
7.0.170.0070.01316.24
7.0.160.0100.01016.24
7.0.150.0060.01316.09
7.0.140.0060.01316.17
7.0.130.0040.01516.37
7.0.120.0090.00916.30
7.0.110.0100.00716.18
7.0.100.0070.01016.10
7.0.90.0150.00416.21
7.0.80.0140.00316.10
7.0.70.0090.01016.27
7.0.60.0060.01216.07
7.0.50.0060.01516.23
7.0.40.0100.00716.37
7.0.30.0030.01216.45
7.0.20.0100.00616.30
7.0.10.0060.01016.30
7.0.00.0000.01516.16
hhvm-3.15.40.0780.18388.63
5.6.300.0100.07120.67
5.6.290.0160.07620.83
5.6.280.0130.07920.80
5.6.270.0130.06220.95
5.6.260.0170.07220.77
5.6.250.0030.06420.73
5.6.240.0170.05620.77
5.6.230.0260.05520.93
5.6.220.0170.07020.82
5.6.210.0090.08120.71
5.6.200.0030.08720.92
5.6.190.0240.06720.88
5.6.180.0100.06620.69
5.6.170.0000.07020.88
5.6.160.0070.06620.73
5.6.150.0070.06320.75
5.6.140.0130.06420.80
5.6.130.0160.05720.93
5.6.120.0070.06720.94
5.6.110.0100.06120.70
5.6.100.0070.06220.78
5.6.90.0130.05920.86
5.6.80.0100.05720.21
5.6.70.0030.06320.35
5.6.60.0240.06020.25
5.6.50.0190.06220.30
5.6.40.0100.07220.27
5.6.30.0070.07620.18
5.6.20.0140.06120.06
5.6.10.0150.04720.06
5.6.00.0060.07420.18