3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $obj = (object) 'ciao'; var_dump($obj->scalar);

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.0220.00745.22
7.3.0rc30.0190.00616.41
7.2.00.0040.01419.20
7.1.100.0030.00717.87
7.1.70.0030.00617.28
7.1.60.0060.01619.21
7.1.50.0070.01316.96
7.1.00.0030.07022.30
7.0.200.0060.00316.59
7.0.140.0000.07721.96
7.0.120.0130.06322.20
7.0.60.0000.05019.92
7.0.50.0100.04717.81
7.0.40.0100.04717.69
7.0.30.0100.04017.69
7.0.20.0030.07317.75
7.0.10.0000.08717.73
7.0.00.0070.04017.72
5.6.280.0000.07320.91
5.6.210.0070.08020.47
5.6.200.0030.06018.08
5.6.190.0130.06718.11
5.6.180.0100.04018.19
5.6.170.0030.04318.14
5.6.160.0130.07018.12
5.6.150.0100.08018.21
5.6.140.0030.05718.13
5.6.130.0100.08718.14
5.6.120.0130.07318.15
5.6.110.0230.05018.16
5.6.100.0100.07718.20
5.6.90.0100.08318.07
5.6.80.0030.05017.54
5.6.70.0030.07317.53
5.6.60.0100.07317.52
5.6.50.0030.04717.59
5.6.40.0130.07717.52
5.6.30.0070.08017.50
5.6.20.0030.04317.43
5.6.10.0100.07317.54
5.6.00.0130.07017.47
5.5.350.0030.08320.46
5.5.340.0070.04018.01
5.5.330.0170.06317.93
5.5.320.0100.03717.98
5.5.310.0030.08018.01
5.5.300.0100.07717.95
5.5.290.0030.05717.98
5.5.280.0130.07717.98
5.5.270.0030.07718.03
5.5.260.0130.04317.95
5.5.250.0130.07017.82
5.5.240.0030.06717.30
5.5.230.0030.08017.30
5.5.220.0100.04017.39
5.5.210.0100.04717.39
5.5.200.0070.07717.37
5.5.190.0070.07717.32
5.5.180.0000.09017.30
5.5.160.0030.07717.25
5.5.150.0070.07717.36
5.5.140.0070.07717.23
5.5.130.0100.07717.33
5.5.120.0070.08017.33
5.5.110.0100.07717.33
5.5.100.0170.07317.29
5.5.90.0000.08017.23
5.5.80.0130.03317.25
5.5.70.0100.07717.30
5.5.60.0000.05717.16
5.5.50.0070.07317.22
5.5.40.0100.07317.13
5.5.30.0070.05017.25
5.5.20.0030.06717.22
5.5.10.0030.05317.24
5.5.00.0130.06017.24
5.4.450.0100.07319.36
5.4.440.0070.07319.45
5.4.430.0030.07719.28
5.4.420.0130.07719.29
5.4.410.0030.08319.23
5.4.400.0030.08019.03
5.4.390.0070.05719.12
5.4.380.0100.06019.00
5.4.370.0070.05318.99
5.4.360.0100.07318.95
5.4.350.0100.07018.98
5.4.340.0170.03719.05
5.4.320.0130.07018.98
5.4.310.0100.04319.01
5.4.300.0070.06319.11
5.4.290.0030.04718.88
5.4.280.0070.04019.20
5.4.270.0100.07319.09
5.4.260.0130.07018.95
5.4.250.0100.06718.88
5.4.240.0130.05018.96
5.4.230.0030.07719.11
5.4.220.0030.07019.02
5.4.210.0070.05018.98
5.4.200.0030.07318.94
5.4.190.0000.08318.96
5.4.180.0000.06019.01
5.4.170.0130.07319.08
5.4.160.0130.06719.05
5.4.150.0030.04319.01
5.4.140.0030.04016.27
5.4.130.0030.08016.25
5.4.120.0170.06316.30
5.4.110.0130.06316.44
5.4.100.0000.08016.27
5.4.90.0130.06016.27
5.4.80.0030.03716.37
5.4.70.0130.05716.28
5.4.60.0070.03316.55
5.4.50.0000.03716.25
5.4.40.0070.03016.41
5.4.30.0000.03716.25
5.4.20.0100.02716.26
5.4.10.0070.03016.35
5.4.00.0000.03715.61
5.3.290.0030.08014.44
5.3.280.0100.07314.57
5.3.270.0070.04714.57
5.3.260.0070.06714.38
5.3.250.0000.05014.52
5.3.240.0000.08714.38
5.3.230.0070.08014.38
5.3.220.0030.04314.55
5.3.210.0100.06714.53
5.3.200.0000.06714.55
5.3.190.0030.07314.53
5.3.180.0100.05314.48
5.3.170.0030.03714.53
5.3.160.0000.04014.53
5.3.150.0000.04014.48
5.3.140.0070.03314.63
5.3.130.0030.03714.49
5.3.120.0030.03714.52
5.3.110.0070.03314.50
5.3.100.0030.03713.80
5.3.90.0030.03713.83
5.3.80.0000.04013.99
5.3.70.0070.03313.79
5.3.60.0070.03013.77
5.3.50.0000.04013.87
5.3.40.0030.03713.90
5.3.30.0000.03713.76
5.3.20.0000.04313.64
5.3.10.0030.03313.58
5.3.00.0030.03313.54
5.2.170.0000.03711.14
5.2.160.0030.03310.93
5.2.150.0000.03011.11
5.2.140.0030.02711.04
5.2.130.0100.02011.24
5.2.120.0070.02311.12
5.2.110.0000.03011.07
5.2.100.0030.02711.07
5.2.90.0000.03011.03
5.2.80.0030.02710.98
5.2.70.0030.03311.07
5.2.60.0030.02711.02
5.2.50.0000.04311.04
5.2.40.0030.02710.96
5.2.30.0030.02710.96
5.2.20.0030.02710.90
5.2.10.0070.03010.80
5.2.00.0070.02310.86
5.1.60.0000.0239.92
5.1.50.0030.0239.92
5.1.40.0030.0239.88
5.1.30.0000.02710.31
5.1.20.0000.02710.42
5.1.10.0030.02710.00
5.1.00.0070.02010.21
5.0.50.0000.0209.12
5.0.40.0000.0239.12
5.0.30.0030.0439.12
5.0.20.0030.0209.12
5.0.10.0030.0339.12
5.0.00.0030.0479.12
4.4.90.0000.0139.12
4.4.80.0030.0139.12
4.4.70.0030.0139.12
4.4.60.0030.0139.12
4.4.50.0030.0139.12
4.4.40.0000.0239.12
4.4.30.0000.0179.12
4.4.20.0000.0179.12
4.4.10.0000.0179.12
4.4.00.0030.0209.12
4.3.110.0030.0139.12
4.3.100.0000.0279.12
4.3.90.0000.0239.12
4.3.80.0000.0539.12
4.3.70.0030.0279.12
4.3.60.0030.0309.12
4.3.50.0030.0339.12
4.3.40.0070.0409.12
4.3.30.0000.0379.12
4.3.20.0030.0279.12
4.3.10.0030.0239.12
4.3.00.0000.0239.12