3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(glob('/sys/*'));

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.0rc40.0310.00798.97
7.3.0rc30.0270.01016.04
7.3.0beta10.0070.00312.63
7.3.0alpha10.0120.00312.31
7.2.80.0040.01116.50
7.2.60.0030.01016.34
7.2.00.0090.00619.34
7.1.200.0060.00615.85
7.1.100.0040.00717.89
7.1.70.0000.01017.01
7.1.60.0030.01719.82
7.1.50.0090.00916.71
7.1.00.0070.07322.38
7.0.200.0100.00716.77
7.0.140.0070.07022.13
7.0.60.0100.06019.91
7.0.50.0130.07317.90
7.0.40.0070.08320.24
7.0.30.0430.07320.25
7.0.20.0370.05020.15
7.0.10.0070.08320.26
7.0.00.0070.06020.22
5.6.280.0030.07320.89
5.6.210.0130.06720.71
5.6.200.0170.04718.20
5.6.190.0100.03720.57
5.6.180.0170.05320.40
5.6.170.0230.05020.47
5.6.160.0100.04320.33
5.6.150.0070.04718.19
5.6.140.0130.07318.21
5.6.130.0030.04018.18
5.6.120.0170.07321.09
5.6.110.0030.04020.99
5.6.100.0070.04320.92
5.6.90.0130.07021.06
5.6.80.0000.08720.39
5.5.350.0070.04720.32
5.5.340.0100.04317.98
5.5.330.0100.04020.40
5.5.320.0000.05320.39
5.5.310.0330.06320.51
5.5.300.0170.06717.92
5.5.290.0070.08318.00
5.5.280.0030.05020.76
5.5.270.0070.09320.79
5.5.260.0030.07720.79
5.5.250.0070.08020.69
5.5.240.2000.03720.25
5.4.450.0500.06019.15
5.4.440.0830.07319.34
5.4.430.1100.05319.08
5.4.420.0600.06319.60
5.4.410.0830.06319.44
5.4.400.0900.06019.09
5.4.390.0070.06018.77
5.4.380.0130.06718.64
5.4.370.0170.04718.60
5.4.360.0130.05018.76
5.4.350.0200.05018.79
5.4.340.0330.04718.78
5.4.320.0050.03712.48
5.4.310.0080.03912.48
5.4.300.0060.03612.48
5.4.290.0070.04312.47
5.4.280.0100.03412.37
5.4.270.0070.07018.89
5.4.260.0200.06319.05
5.4.250.0170.05719.06
5.4.240.0130.07019.02
5.4.230.0100.07719.07
5.4.220.0200.07019.05
5.4.210.0130.07319.14
5.4.200.0130.04718.89
5.4.190.0070.07319.05
5.4.180.0000.07319.01
5.4.170.0100.05318.85
5.4.160.0170.06719.05
5.4.150.0200.06319.16
5.4.140.0170.07016.34
5.4.130.0130.05716.54
5.4.120.0100.05716.33
5.4.110.0070.06716.41
5.4.100.0070.06316.52
5.4.90.0100.06316.56
5.4.80.0100.05716.39
5.4.70.0200.05716.56
5.4.60.0200.04716.34
5.4.50.0100.05316.48
5.4.40.0070.05316.65
5.4.30.0130.06316.39
5.4.20.0200.04016.59
5.4.10.0170.05016.39
5.4.00.0200.04315.98
5.3.290.0070.03812.80
5.3.280.0100.07014.58
5.3.270.0030.06314.78
5.3.260.0070.06314.59
5.3.250.0070.06714.71
5.3.240.0170.06314.71
5.3.230.0070.05314.81
5.3.220.0170.06314.68
5.3.210.0130.04714.54
5.3.200.0170.06314.72
5.3.190.0170.07014.61
5.3.180.0100.06714.68
5.3.170.0100.06314.66
5.3.160.0200.04014.71
5.3.150.0070.05714.73
5.3.140.0130.06314.71
5.3.130.0070.07714.53
5.3.120.0130.06714.69
5.3.110.0070.06314.54
5.3.100.0170.04314.08
5.3.90.0170.04714.21
5.3.80.0170.05314.00
5.3.70.0170.05714.18
5.3.60.0070.05714.19
5.3.50.0130.04714.10
5.3.40.0100.06013.76
5.3.30.0230.04014.05
5.3.20.0030.07013.68
5.3.10.0100.04713.84
5.3.00.0100.05013.86
5.2.170.0000.06311.19
5.2.160.0170.05011.34
5.2.150.0070.06011.42
5.2.140.0130.04311.44
5.2.130.0130.04310.91
5.2.120.0070.04711.22
5.2.110.0070.05311.31
5.2.100.0270.03711.34
5.2.90.0100.04711.21
5.2.80.0070.04711.29
5.2.70.0100.04011.20
5.2.60.0100.06311.16
5.2.50.0070.04011.23
5.2.40.0130.05311.20
5.2.30.0070.05310.95
5.2.20.0100.04711.25
5.2.10.0070.05011.03
5.2.00.0100.04010.84
5.1.60.0030.03710.11
5.1.50.0030.03710.29
5.1.40.0070.05010.05
5.1.30.0030.04010.59
5.1.20.0170.04310.55
5.1.10.0100.03310.34
5.1.00.0030.0509.94
5.0.50.0030.0438.75
5.0.40.0030.0408.51
5.0.30.0030.0508.21
5.0.20.0030.0278.46
5.0.10.0030.0338.37
5.0.00.0030.0538.42
4.4.90.0030.0237.46
4.4.80.0030.0307.46
4.4.70.0070.0277.46
4.4.60.0030.0307.46
4.4.50.0100.0177.46
4.4.40.0030.0507.46
4.4.30.0000.0337.46
4.4.20.0030.0207.46
4.4.10.0030.0337.46
4.4.00.0030.0337.46
4.3.110.0000.0307.46
4.3.100.0130.0207.46
4.3.90.0070.0177.46
4.3.80.0030.0377.46
4.3.70.0070.0207.46
4.3.60.0030.0207.46
4.3.50.0000.0237.46
4.3.40.0000.0477.46
4.3.30.0000.0237.46
4.3.20.0000.0277.46
4.3.10.0000.0307.46
4.3.00.0100.0207.15