3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump('a' == $foo = 'a');

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.60.0090.00616.41
7.2.00.0070.00719.01
7.1.200.0000.00915.46
7.1.100.0040.01117.80
7.1.70.0000.01017.02
7.1.60.0120.01219.46
7.1.50.0090.01216.95
7.1.00.0000.08022.37
7.0.200.0400.00914.64
7.0.140.0030.07322.21
7.0.60.0100.07719.78
7.0.50.0100.03317.80
7.0.40.0130.08020.12
7.0.30.0230.03720.04
7.0.20.0270.04720.00
7.0.10.0100.07020.13
7.0.00.0000.05020.17
5.6.280.0070.07020.92
5.6.210.0100.07320.70
5.6.200.0000.05018.19
5.6.190.0130.08320.67
5.6.180.0270.06320.61
5.6.170.0370.06020.47
5.6.160.0070.09320.48
5.6.150.0030.06018.22
5.6.140.0030.08318.18
5.6.130.0130.07018.09
5.6.120.0000.04720.89
5.6.110.0030.08721.13
5.6.100.0100.06021.03
5.6.90.0100.05321.07
5.6.80.0070.05720.38
5.5.350.0300.07020.36
5.5.340.0070.06317.92
5.5.330.0170.07320.24
5.5.320.0400.08020.20
5.5.310.0400.07320.31
5.5.300.0030.08017.89
5.5.290.0070.06318.02
5.5.280.0100.08020.88
5.5.270.0030.04320.64
5.5.260.0200.06320.86
5.5.250.0070.05720.68
5.5.240.0070.06320.25
5.4.450.0770.07319.24
5.4.440.0770.05319.48
5.4.430.0870.05719.47
5.4.420.0170.04719.54
5.4.410.0900.05019.47
5.4.400.0900.05719.16
5.4.390.0030.06318.72
5.4.380.0130.05718.53
5.4.370.0170.05718.71
5.4.360.0130.05318.50
5.4.350.0030.07018.74
5.4.340.0170.05718.70
5.4.320.0130.06018.68
5.4.310.0300.03718.61
5.4.300.0200.06318.70
5.4.290.0200.05018.59
5.4.280.0130.05318.48
5.4.270.0130.06018.77
5.4.260.0170.06318.75
5.4.250.0130.05718.77
5.4.240.0170.06318.55
5.4.230.0070.05718.48
5.4.220.0130.05718.74
5.4.210.0130.05318.76
5.4.200.0200.04316.74
5.4.190.0170.05018.70
5.4.180.0130.05718.74
5.4.170.0100.06318.72
5.4.160.0170.05718.75
5.4.150.0130.05318.62
5.4.140.0170.05716.27
5.4.130.0170.04316.07
5.4.120.0200.04316.16
5.4.110.0130.05016.07
5.4.100.0170.05016.13
5.4.90.0130.05316.21
5.4.80.0170.04716.15
5.4.70.0100.05716.10
5.4.60.0200.04316.27
5.4.50.0170.05016.02
5.4.40.0170.05016.06
5.4.30.0170.05016.04
5.4.20.0070.05716.04
5.4.10.0100.05316.21
5.4.00.0130.05015.61
5.3.290.0300.04014.64
5.3.280.0170.05014.57
5.3.270.0130.05714.58
5.3.260.0170.05714.55
5.3.250.0200.04714.51
5.3.240.0070.06314.70
5.3.230.0200.05014.57
5.3.220.0070.06014.47
5.3.210.0300.04314.65
5.3.200.0130.06014.57
5.3.190.0100.06014.55
5.3.180.0230.06014.52
5.3.170.0230.06714.54
5.3.160.0100.05314.45
5.3.150.0170.05014.54
5.3.140.0100.05314.50
5.3.130.0230.04314.44
5.3.120.0170.05314.45
5.3.110.0270.04714.57
5.3.100.0200.04714.13
5.3.90.0170.05014.02
5.3.80.0130.06714.05
5.3.70.0130.05313.96
5.3.60.0200.04713.92
5.3.50.0200.04314.04
5.3.40.0170.05713.93
5.3.30.0230.05714.00
5.3.20.0200.06313.65
5.3.10.0230.04013.65
5.3.00.0130.06013.53
5.2.170.0100.04311.13
5.2.160.0130.04011.17
5.2.150.0170.03711.11
5.2.140.0170.03711.20
5.2.130.0070.04711.07
5.2.120.0130.03711.25
5.2.110.0070.04711.14
5.2.100.0130.04011.25
5.2.90.0030.04711.13
5.2.80.0100.04311.08
5.2.70.0100.04311.10
5.2.60.0070.04711.11
5.2.50.0170.03711.17
5.2.40.0130.03710.95
5.2.30.0070.04711.12
5.2.20.0170.03310.98
5.2.10.0230.02710.82
5.2.00.0100.04010.68
5.1.60.0130.04010.11
5.1.50.0030.04010.12
5.1.40.0100.03310.00
5.1.30.0070.04010.48
5.1.20.0170.03010.44
5.1.10.0100.03710.12
5.1.00.0070.03710.07
5.0.50.0070.0308.60
5.0.40.0170.0278.52
5.0.30.0070.0438.34
5.0.20.0100.0238.29
5.0.10.0100.0238.36
5.0.00.0030.0438.30
4.4.90.0100.0175.92
4.4.80.0030.0235.93
4.4.70.0000.0275.86
4.4.60.0030.0275.86
4.4.50.0070.0235.90
4.4.40.0070.0335.91
4.4.30.0070.0205.82
4.4.20.0070.0205.97
4.4.10.0100.0205.93
4.4.00.0100.0305.90
4.3.110.0070.0205.87
4.3.100.0030.0235.78
4.3.90.0070.0175.80
4.3.80.0070.0305.79
4.3.70.0030.0235.90
4.3.60.0030.0235.78
4.3.50.0070.0205.77
4.3.40.0000.0405.75
4.3.30.0070.0204.57
4.3.20.0000.0274.58
4.3.10.0070.0204.57
4.3.00.0030.03014.52