3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = true;

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.80.0030.01216.61
7.2.60.0060.00916.73
7.1.200.0090.00315.68
7.1.70.0090.01216.67
7.1.60.0030.02019.82
7.1.50.0090.00316.99
7.1.00.0030.03322.57
7.0.200.0040.00416.70
7.0.140.0100.06722.15
7.0.60.0030.08321.71
7.0.50.0150.04719.04
7.0.40.0250.05320.17
7.0.30.0250.05020.11
7.0.20.0130.06020.19
7.0.10.0170.05820.27
7.0.00.0150.07020.17
5.6.280.0100.06720.78
5.6.210.0030.07320.47
5.6.200.0250.05719.58
5.6.190.0300.06720.72
5.6.180.0280.05520.83
5.6.170.0150.05320.75
5.6.160.0180.04720.71
5.6.150.0220.06519.51
5.6.140.0280.05719.58
5.6.130.0250.06519.64
5.6.120.0150.07321.04
5.6.110.0530.05321.16
5.6.100.0270.05321.15
5.6.90.0430.07320.92
5.6.80.0230.05720.54
5.6.70.0270.05020.40
5.6.60.0230.05320.39
5.6.50.0230.07020.30
5.6.40.0470.06020.47
5.6.30.0400.06720.48
5.6.20.0300.05320.36
5.6.10.0130.05720.55
5.6.00.0270.06020.36
5.5.350.4200.04020.39
5.5.340.0250.06019.40
5.5.330.0180.06320.43
5.5.320.0270.07320.52
5.5.310.0120.05220.45
5.5.300.0300.07019.46
5.5.290.0120.06519.46
5.5.280.0150.07820.92
5.5.270.0200.05720.84
5.5.260.0230.06320.81
5.5.250.0530.07320.57
5.5.240.0100.06020.20
5.5.230.0430.06720.07
5.5.220.0370.04720.13
5.5.210.0270.05320.11
5.5.200.0230.05320.05
5.5.190.0400.05320.14
5.5.180.0100.06020.19
5.5.160.0430.05720.14
5.5.150.0270.05020.35
5.5.140.0400.05720.18
5.5.130.0570.06020.38
5.5.120.0470.04720.33
5.5.110.0430.07020.13
5.5.100.0330.06320.10
5.5.90.0430.06020.18
5.5.80.0470.07020.06
5.5.70.0200.07020.08
5.5.60.0430.04720.09
5.5.50.0400.04720.24
5.5.40.0500.04720.08
5.5.30.0200.04720.13
5.5.20.0200.05720.06
5.5.10.0470.05019.96
5.5.00.0130.05320.13
5.4.450.0370.06019.55
5.4.440.0450.05819.38
5.4.430.0580.06319.55
5.4.420.0530.05819.45
5.4.410.0550.05719.29
5.4.400.0550.04519.29
5.4.390.0200.05719.04
5.4.380.0250.05318.93
5.4.370.0200.04818.79
5.4.360.0200.06518.88
5.4.350.0220.05015.40
5.4.340.0140.04415.62
5.4.320.0180.04815.78
5.4.310.0060.04715.78
5.4.300.0270.04315.72
5.4.290.0290.05115.86
5.4.280.0280.04615.59
5.4.270.0280.04615.70
5.4.260.0210.05214.60
5.4.250.0210.04814.58
5.4.240.0210.04114.50
5.4.230.0190.05314.64
5.4.220.0160.05014.50
5.4.210.0190.05014.61
5.4.200.0180.04314.50
5.4.190.0090.04514.54
5.4.180.0140.04714.49
5.4.170.0220.04914.57
5.4.160.0140.04714.63
5.4.150.0190.04214.49
5.4.140.0170.04013.50
5.4.130.0140.04313.39
5.4.120.0190.04013.44
5.4.110.0180.05413.42
5.4.100.0150.04413.46
5.4.90.0150.04413.42
5.4.80.0150.04213.41
5.4.70.0220.06013.40
5.4.60.0190.04313.38
5.4.50.0100.04313.42
5.4.40.0140.04513.39
5.4.30.0130.04713.38
5.4.20.0360.06313.39
5.4.10.0190.04413.36
5.4.00.0200.04112.88
5.3.290.0080.04913.65
5.3.280.0090.04413.33
5.3.270.0190.04813.32
5.3.260.0130.04713.31
5.3.250.0120.04913.32
5.3.240.0150.05213.31
5.3.230.0110.04513.31
5.3.220.0140.04313.28
5.3.210.0160.04413.29
5.3.200.0140.04113.28
5.3.190.0180.04213.30
5.3.180.0110.04613.27
5.3.170.0150.04213.24
5.3.160.0120.04613.28
5.3.150.0110.04313.27
5.3.140.0140.04213.27
5.3.130.0150.05313.26
5.3.120.0160.04613.21
5.3.110.0100.04613.25
5.3.100.0160.04612.72
5.3.90.0140.04412.71
5.3.80.0210.04512.71
5.3.70.0150.04412.64
5.3.60.0140.04312.68
5.3.50.0180.04812.60
5.3.40.0090.04412.62
5.3.30.0090.04412.58
5.3.20.0160.04012.36
5.3.10.0220.04712.32
5.3.00.0110.04612.30