3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php call_user_func(function () { echo 'hello world!'; });

Here you find the average performance (time & memory) of each version. A greyed 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.1.90.0070.01117.91
7.1.80.0030.01518.00
7.1.70.0000.01017.06
7.1.60.0160.00925.82
7.1.50.0090.01425.70
7.1.40.0180.01225.32
7.1.30.0090.01425.36
7.1.20.0140.01025.60
7.1.10.0040.00916.52
7.1.00.0080.00616.63
7.0.230.0040.01417.78
7.0.220.0040.01117.61
7.0.210.0040.01216.73
7.0.200.0020.01116.70
7.0.190.0030.01116.72
7.0.180.0060.00916.20
7.0.170.0060.00816.13
7.0.160.0050.00816.11
7.0.150.0050.00716.33
7.0.140.0030.00716.16
7.0.130.0070.00316.53
7.0.120.0070.00616.36
7.0.110.0020.01016.11
7.0.100.0020.01416.41
7.0.90.0030.00416.35
7.0.80.0020.00916.29
7.0.70.0040.00616.25
7.0.60.0040.00615.92
7.0.50.0050.00616.21
7.0.40.0010.01015.59
7.0.30.0020.01315.61
7.0.20.0020.00915.64
7.0.10.0020.00915.59
7.0.00.0030.00715.57
hhvm-3.21.00.0550.26192.21
hhvm-3.20.20.0750.23792.55
hhvm-3.19.20.0560.18991.27
hhvm-3.18.40.0900.20494.54
hhvm-3.17.30.0510.17794.36
hhvm-3.15.40.0400.13092.24
hhvm-3.13.20.0570.114104.12
hhvm-3.12.140.0440.118104.95
hhvm-3.11.10.0400.13798.04
hhvm-3.10.10.0420.18986.46
5.6.300.0070.05420.69
5.6.290.0070.07120.71
5.6.280.0070.06920.94
5.6.270.0050.05120.91
5.6.260.0070.06920.90
5.6.250.0080.06020.88
5.6.240.0080.05220.88
5.6.230.0110.04920.88
5.6.220.0070.04720.82
5.6.210.0020.05020.74
5.6.200.0110.05720.89
5.6.190.0050.05420.93
5.6.180.0060.05720.82
5.6.170.0080.05121.01
5.6.160.0050.05220.82
5.6.150.0110.05520.91
5.6.140.0050.05320.81
5.6.130.0080.04520.93
5.6.120.0080.05420.90
5.6.110.0050.05520.92
5.6.100.0110.04620.95
5.6.90.0050.05420.79
5.6.80.0120.06320.30
5.6.70.0100.04620.23
5.6.60.0030.05220.14
5.6.50.0060.04620.41
5.6.40.0050.04520.24
5.6.30.0100.04420.14
5.6.20.0070.05520.25
5.6.10.0100.05020.27
5.6.00.0070.05220.22
5.5.380.0060.06217.59
5.5.370.0050.05817.56
5.5.360.0080.04617.54
5.5.350.0050.06117.53
5.5.340.0080.05018.06
5.5.330.0050.04817.93
5.5.320.0050.06018.02
5.5.310.0050.05718.06
5.5.300.0050.04518.00
5.5.290.0080.04518.12
5.5.280.0070.04817.85
5.5.270.0030.04918.06
5.5.260.0050.04817.74
5.5.250.0100.05017.67
5.5.240.0050.04917.46
5.5.230.0020.04917.39
5.5.220.0030.05117.29
5.5.210.0050.05017.44
5.5.200.0030.04517.33
5.5.190.0030.04617.40
5.5.180.0100.05117.36
5.5.160.0100.04817.44
5.5.150.0100.04917.43
5.5.140.0110.05017.40
5.5.130.0100.04117.43
5.5.120.0080.04217.45
5.5.110.0070.04317.38
5.5.100.0070.05417.21
5.5.90.0100.05117.25
5.5.80.0050.05017.18
5.5.70.0030.04617.34
5.5.60.0050.04517.04
5.5.50.0150.03817.23
5.5.40.0050.05417.29
5.5.30.0030.04817.33
5.5.20.0020.05317.14
5.5.10.0080.04117.24
5.5.00.0030.04617.25
5.4.450.0100.06119.38
5.4.440.0130.04919.32
5.4.430.0100.05119.38
5.4.420.0180.06219.10
5.4.410.0130.05319.15
5.4.400.0030.05419.10
5.4.390.0070.05118.95
5.4.380.0070.04918.81
5.4.370.0030.05718.87
5.4.360.0000.06118.78
5.4.350.0170.04019.19
5.4.340.0200.05918.81
5.4.320.0030.07518.91
5.4.310.0100.06619.07
5.4.300.0160.05818.98
5.4.290.0170.04018.86
5.4.280.0070.05218.96
5.4.270.0100.06019.02
5.4.260.0160.04118.95
5.4.250.0030.07218.92
5.4.240.0130.04318.95
5.4.230.0100.04818.77
5.4.220.0100.05318.80
5.4.210.0030.05218.97
5.4.200.0070.05018.89
5.4.190.0070.05118.89
5.4.180.0100.04919.20
5.4.170.0100.04719.11
5.4.160.0130.04819.07
5.4.150.0070.05518.96
5.4.140.0070.05016.64
5.4.130.0070.04916.63
5.4.120.0060.06016.40
5.4.110.0100.06416.49
5.4.100.0170.05616.37
5.4.90.0120.06016.44
5.4.80.0030.05216.58
5.4.70.0160.06216.62
5.4.60.0070.04816.64
5.4.50.0060.04816.33
5.4.40.0070.04616.55
5.4.30.0100.04316.59
5.4.20.0040.05116.46
5.4.10.0070.05416.57
5.4.00.0060.06116.09
5.3.290.0100.06614.78
5.3.280.0100.04314.71
5.3.270.0070.04914.79
5.3.260.0070.05014.86
5.3.250.0120.04314.86
5.3.240.0100.04914.60
5.3.230.0060.05714.59
5.3.220.0100.06714.84
5.3.210.0070.07014.73
5.3.200.0090.06214.73
5.3.190.0060.07014.85
5.3.180.0130.06514.61
5.3.170.0070.05214.44
5.3.160.0100.04514.59
5.3.150.0110.04514.67
5.3.140.0000.05614.67
5.3.130.0030.05414.59
5.3.120.0060.06714.82
5.3.110.0120.05114.71
5.3.100.0110.05214.30
5.3.90.0160.03814.07
5.3.80.0140.04114.20
5.3.70.0110.06114.03
5.3.60.0130.05714.30
5.3.50.0060.05913.80
5.3.40.0030.05114.00
5.3.30.0040.05014.18
5.3.20.0090.04613.75
5.3.10.0160.04513.84
5.3.00.0060.04713.85
5.2.170.0030.04211.29
5.2.160.0130.03411.21
5.2.150.0030.04511.35
5.2.140.0090.03811.28
5.2.130.0100.03311.23
5.2.120.0030.03911.31
5.2.110.0060.03711.22
5.2.100.0070.03910.91
5.2.90.0030.04111.03
5.2.80.0100.03511.02
5.2.70.0000.04811.07
5.2.60.0070.03911.03
5.2.50.0060.04211.00
5.2.40.0100.03310.98
5.2.30.0060.03810.95
5.2.20.0070.03811.08
5.2.10.0070.05010.85
5.2.00.0060.05210.59
5.1.60.0000.04710.18
5.1.50.0060.04410.02
5.1.40.0130.0259.97
5.1.30.0040.03710.48
5.1.20.0030.03710.50
5.1.10.0100.03610.26
5.1.00.0030.03610.26
5.0.50.0000.0328.84
5.0.40.0040.0268.55
5.0.30.0000.0448.34
5.0.20.0000.0318.18
5.0.10.0030.0268.14
5.0.00.0070.0368.37
4.4.90.0000.0236.38
4.4.80.0060.0186.38
4.4.70.0000.0296.38
4.4.60.0070.0236.38
4.4.50.0060.0256.38
4.4.40.0030.0326.38
4.4.30.0030.0226.38
4.4.20.0000.0316.38
4.4.10.0000.0246.38
4.4.00.0070.0306.38
4.3.110.0030.0206.38
4.3.100.0090.0146.38
4.3.90.0000.0226.38
4.3.80.0060.0386.38
4.3.70.0000.0236.38
4.3.60.0110.0116.38
4.3.50.0000.0236.38
4.3.40.0030.0326.38
4.3.30.0030.0206.38
4.3.20.0060.0186.38
4.3.10.0060.0186.38
4.3.00.0060.0176.38