3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $clientVersion = '1.1'; $version = '1.5'; echo ($clientVersion < $version);

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.0060.00616.29
7.3.00.0060.00616.52
7.2.130.0020.01216.54
7.2.120.0110.00316.63
7.2.110.0100.00716.76
7.2.100.0110.00816.60
7.2.90.0090.00516.65
7.2.80.0030.00816.71
7.2.70.0120.00616.59
7.2.60.0090.00516.77
7.2.50.0010.00916.80
7.2.40.0110.01016.77
7.2.30.0060.01016.71
7.2.20.0050.01316.57
7.2.10.0140.00416.65
7.2.00.0070.00817.62
7.1.250.0100.00715.25
7.1.200.0070.00715.89
7.1.100.0120.00318.06
7.1.70.0030.00516.89
7.1.60.0120.01219.50
7.1.50.0260.00334.75
7.1.00.0000.08022.58
7.0.200.0150.00815.00
7.0.140.0070.06322.18
7.0.60.0100.04019.99
7.0.50.0030.05717.90
7.0.40.0100.04720.07
7.0.30.0170.05720.17
7.0.20.0230.04720.17
7.0.10.0070.06020.18
7.0.00.0130.07320.04
5.6.280.0000.07320.86
5.6.210.0070.04720.62
5.6.200.0030.08018.13
5.6.190.0070.06320.77
5.6.180.0170.04320.35
5.6.170.0370.07020.49
5.6.160.0100.04320.54
5.6.150.0130.07018.13
5.6.140.0030.09018.21
5.6.130.0030.07318.15
5.6.120.0130.04321.00
5.6.110.0100.07320.96
5.6.100.0130.06320.88
5.6.90.0100.07020.95
5.6.80.0100.07720.47
5.6.70.3330.03720.41
5.5.350.0030.06020.41
5.5.340.0070.07717.92
5.5.330.0100.08020.47
5.5.320.0470.06720.40
5.5.310.0230.03320.21
5.5.300.0070.06718.02
5.5.290.0100.07318.00
5.5.280.0030.05020.67
5.5.270.0000.09320.74
5.5.260.0130.08320.85
5.5.250.0000.07720.60
5.5.240.0170.07720.18
5.4.450.0300.06719.61
5.4.440.0770.06319.48
5.4.430.0870.05319.50
5.4.420.0370.05019.32
5.4.410.0130.06318.94
5.4.400.0370.05318.76
5.4.390.0430.05318.61
5.4.380.0370.06318.58
5.4.370.0270.06318.67
5.4.360.0370.05018.48
5.4.350.0330.07718.49
5.4.340.0370.07718.57
5.4.320.0400.06318.65
5.4.310.0370.05718.77
5.4.300.0570.04318.73
5.4.290.0370.05318.68
5.4.280.0370.05718.64
5.4.270.0400.06318.69
5.4.260.0600.05718.69
5.4.250.0470.08018.63
5.4.240.0430.08018.48
5.4.230.0400.08018.71
5.4.220.0470.07718.77
5.4.210.0500.07318.70
5.4.200.0300.05316.50
5.4.190.0430.05318.43
5.4.180.0500.07718.51
5.4.170.0130.07718.50
5.4.160.0170.07018.49
5.4.150.0730.06018.46
5.4.140.0530.07316.23
5.4.130.0530.06016.08
5.4.120.0570.05716.31
5.4.110.0470.06316.16
5.4.100.0030.08016.29
5.4.90.0130.06716.25
5.4.80.0170.06016.19
5.4.70.0670.07316.13
5.4.60.1300.05716.23
5.4.50.0900.06316.02
5.4.40.1300.05016.07
5.4.30.1330.04716.18
5.4.20.1330.06016.13
5.4.10.1300.05316.02
5.4.00.1430.06315.80
5.3.290.1500.04014.75
5.3.280.1200.05014.64
5.3.270.1270.04714.51
5.3.260.1400.05314.63
5.3.250.1330.07314.64
5.3.240.1330.05014.51
5.3.230.0970.05314.64
5.3.220.0800.06014.61
5.3.210.0970.06714.63
5.3.200.1230.08014.47
5.3.190.1400.05314.47
5.3.180.0970.05314.47
5.3.170.1100.04714.54
5.3.160.0830.04714.55
5.3.150.0400.05314.45
5.3.140.0400.05014.53
5.3.130.0400.05714.47
5.3.120.0330.06714.47
5.3.110.0270.06314.52
5.3.100.0430.04714.00
5.3.90.0500.04014.09
5.3.80.0530.05714.11
5.3.70.0400.04314.00
5.3.60.0330.05013.98
5.3.50.0330.07313.92
5.3.40.0470.05714.03
5.3.30.0330.04713.89
5.3.20.0270.05013.60
5.3.10.0330.05013.73
5.3.00.0300.06013.66
5.2.170.0300.03711.19
5.2.160.0300.04011.19
5.2.150.0370.04311.31
5.2.140.0300.04311.18
5.2.130.0370.04011.06
5.2.120.0430.05311.27
5.2.110.0230.06311.03
5.2.100.0270.06011.05
5.2.90.0300.05711.03
5.2.80.0400.05011.26
5.2.70.0370.05311.12
5.2.60.0400.05011.09
5.2.50.0300.05011.07
5.2.40.0230.03710.94
5.2.30.0230.04711.00
5.2.20.0330.05010.94
5.2.10.0370.04710.89
5.2.00.0170.04710.68
5.1.60.0230.0509.96
5.1.50.0430.03310.00
5.1.40.0200.0379.99
5.1.30.0230.04010.37
5.1.20.0200.03710.34
5.1.10.0270.03310.11
5.1.00.0230.03710.08
5.0.50.0070.0338.65
5.0.40.0070.0338.55
5.0.30.0130.0438.19
5.0.20.0230.0278.23
5.0.10.0200.0308.20
5.0.00.0170.0478.36
4.4.90.0070.0305.88
4.4.80.0130.0205.88
4.4.70.0100.0205.85
4.4.60.0200.0175.86
4.4.50.0130.0205.90
4.4.40.0130.0335.86
4.4.30.0070.0235.91
4.4.20.0170.0175.92
4.4.10.0070.0235.93
4.4.00.0170.0305.90
4.3.110.0130.0175.77
4.3.100.0030.0235.79
4.3.90.0030.0235.82
4.3.80.0070.0375.81
4.3.70.0030.0205.81
4.3.60.0070.0235.88
4.3.50.0030.0305.82
4.3.40.0400.0405.87
4.3.30.0100.0304.57
4.3.20.0030.0304.65
4.3.10.0030.0274.61
4.3.00.0170.0176.88