3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php vardump( scandir(".")); ?>
based on E757F

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.0070.00316.68
7.3.00.0040.01116.27
7.2.130.0030.00916.98
7.2.120.0030.01016.64
7.2.110.0060.00616.50
7.2.100.0040.00816.63
7.2.90.0030.00716.84
7.2.80.0030.01416.81
7.2.70.0000.01216.80
7.2.60.0090.00516.63
7.2.50.0100.00316.90
7.2.40.0140.00016.61
7.2.30.0100.00316.74
7.2.20.0030.01016.73
7.2.10.0120.00316.71
7.2.00.0050.00517.95
7.1.250.0040.00415.32
7.1.200.0080.00315.64
7.1.100.0070.00717.96
7.1.70.0040.00416.76
7.1.60.0090.01519.40
7.1.50.0120.00916.62
7.1.00.0030.07722.48
7.0.200.0040.00816.65
7.0.140.0030.07321.99
7.0.110.0100.03319.93
7.0.100.0130.02720.08
7.0.90.0030.05019.96
7.0.80.0130.04019.92
7.0.70.0070.04319.87
7.0.60.0000.04020.02
7.0.50.0430.04319.89
7.0.40.0130.07019.73
7.0.30.0030.04019.75
7.0.20.0100.04019.65
7.0.10.0070.04019.73
7.0.00.0100.03319.72
5.6.280.0000.07720.89
5.6.260.0070.03320.68
5.6.250.0000.04320.88
5.6.240.0100.07720.67
5.6.230.0000.06020.63
5.6.220.0070.04020.52
5.6.210.0030.03720.67
5.6.200.0070.04320.65
5.6.190.0170.03320.70
5.6.180.0070.03320.59
5.6.170.0000.04720.62
5.6.160.0030.04320.70
5.6.150.0030.03720.45
5.6.140.0030.04320.64
5.6.130.0030.03720.54
5.6.120.0070.04020.85
5.6.110.0070.03720.66
5.6.100.0000.03720.51
5.6.90.0000.03720.44
5.6.80.0070.03019.93
5.6.70.0030.03719.95
5.6.60.0030.03319.95
5.6.50.0030.03320.18
5.6.40.0070.03020.05
5.6.30.0070.03020.00
5.6.20.0030.03719.96
5.6.10.0030.03020.00
5.6.00.0000.03719.92
5.5.380.0000.06017.52
5.5.370.0000.04317.46
5.5.360.0070.03717.39
5.5.350.0030.04017.56
5.5.340.0030.04018.01
5.5.330.0070.05318.10
5.5.320.0070.03317.85
5.5.310.0030.05018.25
5.5.300.0030.03317.91
5.5.290.0000.04318.16
5.5.280.0070.04318.16
5.5.270.0170.02718.02
5.5.260.0000.03718.14
5.5.250.0030.03717.91
5.5.240.0030.03317.52
5.5.230.0030.03317.36
5.5.220.0030.03717.22
5.5.210.0000.04017.27
5.5.200.0000.03717.22
5.5.190.0000.03717.45
5.5.180.0070.03717.34
5.5.160.0030.03017.24
5.5.150.0000.03717.19
5.5.140.0000.03317.60
5.5.130.0070.03317.51
5.5.120.0000.03317.35
5.5.110.0030.03317.24
5.5.100.0100.02317.28
5.5.90.0070.03017.35
5.5.80.0030.03317.40
5.5.70.0000.04017.40
5.5.60.0030.03017.13
5.5.50.0000.03717.37
5.5.40.0030.04317.10
5.5.30.0130.02017.40
5.5.20.0100.03717.25
5.5.10.0030.04717.33
5.5.00.0100.03317.39
5.4.450.0030.03719.50
5.4.440.0030.04019.31
5.4.430.0030.03319.39
5.4.420.0030.03319.25
5.4.410.0070.03019.20
5.4.400.0030.03018.98
5.4.390.0100.02318.93
5.4.380.0070.03019.08
5.4.370.0030.03318.93
5.4.360.0000.03319.18
5.4.350.0100.02319.12
5.4.340.0070.03318.93
5.4.320.0000.03718.97
5.4.310.0030.03018.98
5.4.300.0000.03319.11
5.4.290.0070.03018.98
5.4.280.0030.03718.95
5.4.270.0000.03319.19
5.4.260.0030.03019.16
5.4.250.0000.04019.16
5.4.240.0000.03318.94
5.4.230.0070.03318.92
5.4.220.0130.02319.09
5.4.210.0000.03718.97
5.4.200.0000.03719.27
5.4.190.0030.03019.02
5.4.180.0070.06719.12
5.4.170.0000.05319.02
5.4.160.0030.04318.93
5.4.150.0070.03719.09
5.4.140.0070.06016.41
5.4.130.0030.03016.39
5.4.120.0070.03316.46
5.4.110.0030.03716.48
5.4.100.0030.03316.38
5.4.90.0030.06316.37
5.4.80.0100.02316.48
5.4.70.0100.04016.47
5.4.60.0030.04016.26
5.4.50.0030.04316.21
5.4.40.0070.04716.21
5.4.30.0000.05316.16
5.4.20.0000.04716.46
5.4.10.0030.03716.50
5.4.00.0000.03715.73
5.3.290.0070.04014.55
5.3.280.0100.02714.47
5.3.270.0070.07014.54
5.3.260.0030.06014.69
5.3.250.0070.04314.47
5.3.240.0000.04314.45
5.3.230.0030.05014.66
5.3.220.0100.03714.41
5.3.210.0000.04714.58
5.3.200.0030.03014.62
5.3.190.0070.03314.41
5.3.180.0000.04014.42
5.3.170.0030.03714.62
5.3.160.0100.03314.55
5.3.150.0030.03014.57
5.3.140.0000.04014.56
5.3.130.0130.06014.37
5.3.120.0070.06014.44
5.3.110.0030.04314.37
5.3.100.0100.03014.03
5.3.90.0130.02713.84
5.3.80.0070.03713.96
5.3.70.0070.03313.95
5.3.60.0070.03314.00
5.3.50.0000.03713.80
5.3.40.0070.03314.01
5.3.30.0000.04713.79
5.3.20.0000.03713.62
5.3.10.0030.05713.55
5.3.00.0030.04013.42
5.2.170.0030.03012.02
5.2.160.0030.03012.02
5.2.150.0100.02312.02
5.2.140.0000.02712.02
5.2.130.0000.03712.02
5.2.120.0100.06712.02
5.2.110.0030.05312.02
5.2.100.0030.02312.02
5.2.90.0030.02712.02
5.2.80.0070.03712.02
5.2.70.0030.05312.02
5.2.60.0030.03312.02
5.2.50.0000.03712.02
5.2.40.0030.02312.02
5.2.30.0000.03312.02
5.2.20.0070.02312.02
5.2.10.0030.05012.02
5.2.00.0030.02712.02
5.1.60.0030.02012.02
5.1.50.0070.02012.02
5.1.40.0030.02312.02
5.1.30.0070.02012.02
5.1.20.0000.02312.02
5.1.10.0000.02312.02
5.1.00.0030.02712.02
5.0.50.0030.02012.02
5.0.40.0000.01712.02
5.0.30.0000.03012.02
5.0.20.0000.02012.02
5.0.10.0000.02312.02
5.0.00.0030.02312.02
4.4.90.0000.02312.02
4.4.80.0070.01012.02
4.4.70.0000.01712.02
4.4.60.0000.01712.02
4.4.50.0000.01712.02
4.4.40.0000.03012.02
4.4.30.0030.01312.02
4.4.20.0000.01712.02
4.4.10.0030.01312.02
4.4.00.0030.02312.02
4.3.110.0000.02012.02
4.3.100.0000.01312.02
4.3.90.0000.01312.02
4.3.80.0030.02312.02
4.3.70.0000.01312.02
4.3.60.0030.02312.02
4.3.50.0000.01712.02
4.3.40.0000.02712.02
4.3.30.0000.01312.02
4.3.20.0000.01312.02
4.3.10.0000.01712.02
4.3.00.0000.01312.02