3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = null; var_dump($foo['bar']);
based on EUi0P

Here you find the average performance (time & memory) of each version. A greyed 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.00.0030.01019.42
7.1.100.0030.00618.08
7.1.70.0030.00716.77
7.1.60.0070.01319.46
7.1.50.0040.01816.84
7.1.00.0030.09022.30
7.0.200.0040.00416.68
7.0.140.0070.03022.16
7.0.60.0070.07020.07
7.0.50.0130.04717.85
7.0.40.0100.08320.08
7.0.30.0200.05720.04
7.0.20.0400.07019.99
7.0.10.0030.08720.16
7.0.00.0170.07720.18
5.6.280.0070.07020.86
5.6.210.0030.04020.44
5.6.200.0070.06718.13
5.6.190.0070.08320.45
5.6.180.0270.05020.77
5.6.170.0330.07720.76
5.6.160.0070.08020.44
5.6.150.0000.04718.11
5.6.140.0100.07018.21
5.6.130.0100.07718.15
5.6.120.0100.03720.97
5.6.110.0130.06021.00
5.6.100.0070.07020.96
5.6.90.0100.08720.99
5.6.80.0130.07720.35
5.5.350.3800.04020.52
5.5.340.0070.03717.98
5.5.330.0070.07020.43
5.5.320.2430.03720.31
5.5.310.0370.04320.26
5.5.300.0030.06017.91
5.5.290.0100.07717.94
5.5.280.0000.05720.68
5.5.270.0130.04320.74
5.5.260.0100.05720.75
5.5.250.0070.08020.49
5.5.240.0100.07320.18
5.4.450.0700.06019.47
5.4.440.0500.06019.45
5.4.430.0000.06319.68
5.4.420.0170.06719.63
5.4.410.0200.05319.39
5.4.400.0170.05719.23
5.4.390.0900.05718.71
5.4.380.1030.04318.55
5.4.370.0770.05018.61
5.4.360.0670.06318.51
5.4.350.0900.04718.62
5.4.340.0830.06018.50
5.4.320.0770.06018.51
5.4.310.0730.05718.55
5.4.300.0730.05718.51
5.4.290.0770.06018.66
5.4.280.0970.05018.54
5.4.270.0830.04718.61
5.4.260.0730.05718.48
5.4.250.1030.05318.45
5.4.240.1000.05718.49
5.4.230.0930.05318.64
5.4.220.0930.05318.64
5.4.210.1030.05318.48
5.4.200.0970.05016.50
5.4.190.0930.05318.45
5.4.180.0870.06018.53
5.4.170.0870.06018.56
5.4.160.0930.05018.43
5.4.150.0930.06318.55
5.4.140.1000.04716.36
5.4.130.0930.05316.26
5.4.120.0730.05316.24
5.4.110.0870.04016.04
5.4.100.0830.04316.06
5.4.90.0670.07316.35
5.4.80.0870.04316.20
5.4.70.0870.05016.23
5.4.60.0800.04716.04
5.4.50.0830.04316.10
5.4.40.1070.06016.13
5.4.30.1130.06316.13
5.4.20.0930.06016.13
5.4.10.1000.04316.22
5.4.00.1130.05715.53
5.3.290.1000.05314.65
5.3.280.0970.05014.57
5.3.270.0900.06014.59
5.3.260.0900.05714.61
5.3.250.1000.06314.70
5.3.240.0970.05314.61
5.3.230.0970.05014.54
5.3.220.1000.04314.66
5.3.210.0900.05714.66
5.3.200.0970.04714.45
5.3.190.1000.04314.65
5.3.180.0800.06014.66
5.3.170.0770.05314.47
5.3.160.0900.04714.63
5.3.150.0730.06014.54
5.3.140.0730.06714.50
5.3.130.0800.05014.50
5.3.120.0770.05314.45
5.3.110.0700.05714.50
5.3.100.0900.04014.03
5.3.90.0930.05013.97
5.3.80.0930.04713.97
5.3.70.0830.04713.91
5.3.60.0800.04713.98
5.3.50.0870.05013.87
5.3.40.0930.06713.87
5.3.30.0900.03313.83
5.3.20.0830.05713.67
5.3.10.0870.05013.75
5.3.00.0900.04713.67
5.2.170.0600.05011.11
5.2.160.0800.04011.05
5.2.150.0870.05011.12
5.2.140.0830.04711.27
5.2.130.0830.04011.07
5.2.120.0570.04311.25
5.2.110.0730.03711.06
5.2.100.0730.03311.09
5.2.90.0630.04011.08
5.2.80.0700.04011.10
5.2.70.0670.04311.05
5.2.60.0630.04311.00
5.2.50.0630.04011.15
5.2.40.0570.03711.03
5.2.30.0570.04010.96
5.2.20.0570.05010.93
5.2.10.0600.03710.91
5.2.00.0470.06010.69
5.1.60.0500.0379.95
5.1.50.0500.03710.07
5.1.40.0470.0409.98
5.1.30.0670.03010.34
5.1.20.0600.03010.44
5.1.10.0530.03710.03
5.1.00.0500.03710.15
5.0.50.0230.0408.68
5.0.40.0330.0208.46
5.0.30.0330.0438.23
5.0.20.0300.0278.27
5.0.10.0270.0308.16
5.0.00.0300.0478.14
4.4.90.0300.0175.83
4.4.80.0270.0335.81
4.4.70.0230.0275.84
4.4.60.0300.0235.90
4.4.50.0330.0205.93
4.4.40.0370.0275.90
4.4.30.0300.0235.82
4.4.20.0270.0206.00
4.4.10.0330.0175.95
4.4.00.0330.0375.93
4.3.110.0300.0275.84
4.3.100.0300.0235.79
4.3.90.0230.0275.84
4.3.80.0230.0375.78
4.3.70.0270.0235.77
4.3.60.0270.0205.79
4.3.50.0330.0175.79
4.3.40.0300.0335.75
4.3.30.0230.0174.57
4.3.20.0130.0234.63
4.3.10.0170.0204.50
4.3.00.0170.0208.73