3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(array("hallo" => "sauber")); echo $arr[1]["hallo"];

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.00.0030.00919.13
7.1.100.0060.00618.19
7.1.70.0050.00316.86
7.1.60.0130.01319.70
7.1.50.0060.01616.91
7.1.00.0100.07022.28
7.0.200.0060.00616.72
7.0.140.0100.07021.96
7.0.120.0070.07021.97
7.0.110.0030.07722.06
7.0.100.0030.07322.01
7.0.90.0030.07722.03
7.0.80.0030.06722.19
7.0.70.0070.07022.10
7.0.60.0130.06322.08
7.0.50.0170.05722.09
7.0.40.0070.07022.07
7.0.30.0070.07022.14
7.0.20.0100.06722.05
7.0.10.0000.07722.11
7.0.00.0030.07022.06
5.6.280.0030.07720.92
5.6.260.0030.07321.11
5.6.250.0070.07020.83
5.6.240.0000.08021.03
5.6.230.0130.06721.08
5.6.220.0100.05020.99
5.6.210.0130.06320.98
5.6.200.0070.07320.93
5.6.190.0030.06320.97
5.6.180.0000.07720.80
5.6.170.0030.07320.83
5.6.160.0030.07321.00
5.6.150.0030.07721.00
5.6.140.0100.06721.02
5.6.130.0000.07721.05
5.6.120.0070.07020.98
5.6.110.0030.07720.83
5.6.100.0070.07021.01
5.6.90.0070.07020.98
5.6.80.0070.06720.20
5.6.70.0000.07320.40
5.6.60.0070.06020.30
5.6.50.0100.05320.18
5.6.40.0000.06020.26
5.6.30.0070.06720.36
5.6.20.0000.07720.17
5.6.10.0100.06020.10
5.6.00.0030.07020.46
5.5.380.0030.07017.61
5.5.370.0070.06017.51
5.5.360.0100.06317.60
5.5.350.0030.07017.39
5.5.340.0000.07317.87
5.5.330.0030.07017.84
5.5.320.0030.07017.80
5.5.310.0030.07018.13
5.5.300.0070.07018.10
5.5.290.0030.07317.98
5.5.280.0000.07018.09
5.5.270.0070.07017.86
5.5.260.0030.07718.25
5.5.250.0030.06717.65
5.5.240.0070.06717.52
5.5.230.0070.06717.23
5.5.220.0000.06017.38
5.5.210.0000.07017.47
5.5.200.0000.07017.51
5.5.190.0000.06317.21
5.5.180.0000.07317.21
5.5.160.0030.06317.48
5.5.150.0030.06017.60
5.5.140.0070.06317.37
5.5.130.0030.06717.60
5.5.120.0000.06717.23
5.5.110.0030.07017.19
5.5.100.0000.07017.10
5.5.90.0030.06317.09
5.5.80.0100.04717.09
5.5.70.0030.07017.28
5.5.60.0070.06317.36
5.5.50.0100.05317.07
5.5.40.0000.07017.10
5.5.30.0070.06017.08
5.5.20.0070.06317.13
5.5.10.0070.05717.39
5.5.00.0030.07017.25
5.4.450.0000.07019.40
5.4.440.0000.07719.35
5.4.430.0070.06319.43
5.4.420.0030.07019.26
5.4.410.0000.06019.19
5.4.400.0100.06019.00
5.4.390.0000.06719.11
5.4.380.0000.05019.02
5.4.370.0030.06318.93
5.4.360.0030.05318.98
5.4.350.0030.06719.07
5.4.340.0030.06019.11
5.4.320.0000.07318.95
5.4.310.0070.06318.94
5.4.300.0070.06719.26
5.4.290.0030.06318.99
5.4.280.0000.07319.15
5.4.270.0130.05718.99
5.4.260.0000.06719.26
5.4.250.0030.06719.26
5.4.240.0030.06019.16
5.4.230.0030.06018.93
5.4.220.0000.07019.09
5.4.210.0100.06019.25
5.4.200.0030.06719.25
5.4.190.0030.06718.89
5.4.180.0070.06019.23
5.4.170.0070.06019.25
5.4.160.0030.05019.07
5.4.150.0030.07019.05
5.4.140.0070.06016.31
5.4.130.0030.06016.47
5.4.120.0030.05316.47
5.4.110.0030.05316.37
5.4.100.0000.06716.40
5.4.90.0000.06016.28
5.4.80.0000.06716.38
5.4.70.0030.06316.21
5.4.60.0070.06016.10
5.4.50.0000.05316.37
5.4.40.0030.06316.38
5.4.30.0070.06016.37
5.4.20.0030.06016.34
5.4.10.0100.05716.45
5.4.00.0000.06315.69
5.3.290.0030.07014.68
5.3.280.0030.06714.38
5.3.270.0030.06714.62
5.3.260.0070.06014.49
5.3.250.0000.06714.50
5.3.240.0100.05714.67
5.3.230.0000.06014.48
5.3.220.0070.05714.63
5.3.210.0100.06314.39
5.3.200.0070.06314.57
5.3.190.0000.07014.35
5.3.180.0030.06314.44
5.3.170.0000.05714.48
5.3.160.0030.05714.40
5.3.150.0070.05314.57
5.3.140.0000.06014.45
5.3.130.0030.06014.46
5.3.120.0000.07314.55
5.3.110.0130.06014.46
5.3.100.0000.05714.06
5.3.90.0030.06014.09
5.3.80.0030.05714.08
5.3.70.0030.06314.11
5.3.60.0030.05314.06
5.3.50.0000.06313.80
5.3.40.0000.06714.02
5.3.30.0070.05013.77
5.3.20.0000.05013.61
5.3.10.0070.04713.45
5.3.00.0000.06013.57