3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo function_exists('xmlrpc_encode') ? 'yay' : 'nay';

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.10.0090.00916.09
7.3.00.0040.00716.16
7.2.130.0060.00916.71
7.2.120.0060.00616.05
7.2.110.0100.00316.51
7.2.100.0110.00816.26
7.2.90.0090.00916.76
7.2.80.0250.00016.20
7.2.70.0140.00416.49
7.2.60.0040.01116.32
7.2.50.0110.00816.54
7.2.40.0190.00316.50
7.2.30.0100.01116.36
7.2.20.0270.00716.18
7.2.10.0310.00816.45
7.2.00.0070.01017.94
7.1.250.0060.00715.46
7.1.100.0040.00817.93
7.1.70.0000.00817.12
7.1.60.0100.01619.70
7.1.50.0170.01034.64
7.1.00.0000.08022.45
7.0.200.0040.00816.58
7.0.140.0130.06722.02
7.0.60.0100.06719.82
7.0.50.0070.08717.84
7.0.40.0100.08320.29
7.0.30.0300.08320.09
7.0.20.0270.07020.00
7.0.10.0030.09320.09
7.0.00.0100.03320.04
5.6.280.0030.07320.89
5.6.210.0070.07020.54
5.6.200.0030.04718.13
5.6.190.0100.05720.64
5.6.180.0370.07720.45
5.6.170.0300.04320.44
5.6.160.0070.04020.48
5.6.150.0100.07718.22
5.6.140.0070.03718.21
5.6.130.0100.03718.18
5.6.120.0030.08721.04
5.6.110.0070.07721.01
5.6.100.0070.06321.02
5.6.90.0030.08721.12
5.6.80.0130.07320.38
5.5.350.0370.06320.37
5.5.340.0070.08018.02
5.5.330.0070.05720.19
5.5.320.0370.07720.27
5.5.310.0230.07720.28
5.5.300.0070.07718.02
5.5.290.0030.05317.99
5.5.280.0130.06320.75
5.5.270.0100.04020.63
5.5.260.0130.06720.86
5.5.250.0030.07020.61
5.5.240.0000.08020.13
5.4.450.0330.04019.21
5.4.440.0270.04319.41
5.4.430.0270.04319.41
5.4.420.0330.04019.14
5.4.410.0270.04019.12
5.4.400.0300.03719.07
5.4.390.0370.04319.06
5.4.380.0400.04019.25
5.4.370.0300.05018.82
5.4.360.0370.03318.79
5.4.350.0330.04319.06
5.4.340.0400.05318.79
5.4.320.0500.07018.94
5.4.310.0370.04018.92
5.4.300.0530.05718.80
5.4.290.0400.03719.04
5.4.280.0300.05019.06
5.4.270.0470.04019.13
5.4.260.0470.06719.13
5.4.250.0430.06719.05
5.4.240.0530.04019.08
5.4.230.0430.07018.89
5.4.220.0530.05319.12
5.4.210.0430.05719.11
5.4.200.0400.06719.08
5.4.190.0400.07318.80
5.4.180.0370.06319.07
5.4.170.0300.04019.12
5.4.160.0430.04018.86
5.4.150.0430.05019.11
5.4.140.0530.06316.23
5.4.130.0330.04016.28
5.4.120.0470.02716.53
5.4.110.0300.04716.34
5.4.100.0430.06716.43
5.4.90.0570.04716.39
5.4.80.0470.04716.38
5.4.70.0470.04716.48
5.4.60.0430.04716.36
5.4.50.0300.04316.40
5.4.40.0270.03716.17
5.4.30.0370.04316.28
5.4.20.0500.04716.20
5.4.10.0370.05016.35
5.4.00.0370.04015.77
5.3.290.0470.06714.52
5.3.280.0430.04714.54
5.3.270.0430.04714.44
5.3.260.0470.07014.44
5.3.250.0500.06314.44
5.3.240.0370.04714.46
5.3.230.0400.03714.47
5.3.220.0300.04714.39
5.3.210.0300.04314.40
5.3.200.0430.03014.51
5.3.190.0430.04714.51
5.3.180.0300.04314.56
5.3.170.0430.05314.65
5.3.160.0400.04314.46
5.3.150.0470.05014.60
5.3.140.0370.03014.38
5.3.130.0400.06014.49
5.3.120.0370.06314.42
5.3.110.0470.03714.47
5.3.100.0500.05313.82
5.3.90.0370.03713.87
5.3.80.0370.03314.04
5.3.70.0430.03013.99
5.3.60.0370.03713.84
5.3.50.0430.05713.96
5.3.40.0400.05013.81
5.3.30.0430.06713.76
5.3.20.0330.04013.59
5.3.10.0400.04713.76
5.3.00.0630.04713.41
5.2.170.0330.03711.00
5.2.160.0270.03311.19
5.2.150.0300.04311.15
5.2.140.0430.05011.16
5.2.130.0400.04310.96
5.2.120.0400.03711.11
5.2.110.0430.03011.11
5.2.100.0400.03311.11
5.2.90.0370.05011.14
5.2.80.0330.03710.98
5.2.70.0330.03311.25
5.2.60.0400.04310.98
5.2.50.0300.03011.02
5.2.40.0300.02710.92
5.2.30.0200.03310.83
5.2.20.0270.02711.04
5.2.10.0270.03710.76
5.2.00.0300.04710.71
5.1.60.0230.03010.07
5.1.50.0400.0379.86
5.1.40.0270.03710.06
5.1.30.0330.04010.30
5.1.20.0270.03010.29
5.1.10.0270.04310.14
5.1.00.0230.0379.93
5.0.50.0130.0238.90
5.0.40.0170.0238.90
5.0.30.0170.0608.90
5.0.20.0230.0238.90
5.0.10.0170.0278.90
5.0.00.0130.0378.90
4.4.90.0170.0178.78
4.4.80.0130.0178.79
4.4.70.0170.0238.81
4.4.60.0170.0238.81
4.4.50.0170.0208.83
4.4.40.0200.0278.86
4.4.30.0170.0208.86
4.4.20.0200.0278.88
4.4.10.0130.0278.90
4.4.00.0170.0308.90
4.3.110.0170.0238.90
4.3.100.0170.0208.90
4.3.90.0170.0238.90
4.3.80.0100.0278.90
4.3.70.0130.0138.90
4.3.60.0170.0208.90
4.3.50.0130.0208.90
4.3.40.0130.0308.90
4.3.30.0070.0208.90
4.3.20.0100.0178.90
4.3.10.0070.0278.90
4.3.00.0070.0238.90