3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = json_decode('[2000]', true, 512); var_dump($data);
based on REckp

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.80.0040.00416.61
7.2.60.0060.00916.86
7.2.00.0070.00719.43
7.1.200.0130.00415.58
7.1.100.0040.00817.90
7.1.70.0000.00717.09
7.1.60.0040.02219.50
7.1.50.0030.00816.56
7.1.00.0070.07322.37
7.0.200.0660.00314.87
7.0.140.0030.06322.18
7.0.60.0030.04019.93
7.0.50.0000.05317.87
7.0.40.0070.05320.23
7.0.30.0200.04020.17
7.0.20.0270.06720.30
7.0.10.0330.07020.18
7.0.00.0000.08320.04
5.6.280.0030.07321.09
5.6.210.0070.04020.60
5.6.200.0070.03718.12
5.6.190.0030.09020.35
5.6.180.0200.08020.66
5.6.170.0370.06720.40
5.6.160.0070.07320.40
5.6.150.0130.06718.11
5.6.140.0000.04318.18
5.6.130.0000.05718.18
5.6.120.0100.06721.01
5.6.110.0030.08321.04
5.6.100.0130.08320.88
5.6.90.0030.09020.96
5.6.80.0070.06320.48
5.6.70.0270.07320.27
5.5.350.0100.06020.40
5.5.340.0070.04717.98
5.5.330.0100.07720.37
5.5.320.0270.07020.16
5.5.310.0300.07020.16
5.5.300.0130.03317.95
5.5.290.0100.07717.89
5.5.280.0130.06720.81
5.5.270.0030.07320.75
5.5.260.0200.07020.87
5.5.250.0100.06720.50
5.5.240.0070.03320.14
5.4.450.0630.05719.46
5.4.440.0730.05719.55
5.4.430.0900.05719.51
5.4.420.0730.06019.43
5.4.410.0670.05319.09
5.4.400.0230.05718.62
5.4.390.0270.06018.57
5.4.380.0200.06318.71
5.4.370.0270.05318.59
5.4.360.0300.05018.74
5.4.350.0300.05018.50
5.4.340.0200.06318.60
5.4.320.0300.05318.77
5.4.310.0330.05018.74
5.4.300.0300.05318.52
5.4.290.0300.05318.60
5.4.280.0230.05318.68
5.4.270.0300.04718.73
5.4.260.0300.05318.48
5.4.250.0300.05018.69
5.4.240.0200.06018.56
5.4.230.0330.04318.48
5.4.220.0270.06018.57
5.4.210.0230.05718.67
5.4.200.0330.04316.52
5.4.190.0300.05018.72
5.4.180.0330.05018.44
5.4.170.0330.05018.48
5.4.160.0300.05018.50
5.4.150.0300.05318.54
5.4.140.0270.08016.09
5.4.130.0170.08316.26
5.4.120.0270.05016.22
5.4.110.0300.04716.26
5.4.100.0300.05016.10
5.4.90.0300.05316.18
5.4.80.0230.05316.13
5.4.70.0300.04316.29
5.4.60.0300.04716.23
5.4.50.0270.04716.05
5.4.40.0270.05016.32
5.4.30.0270.05716.05
5.4.20.0270.05316.13
5.4.10.0370.04716.18
5.4.00.0400.04715.50
5.3.290.0230.06014.75
5.3.280.0330.04714.60
5.3.270.0270.05714.55
5.3.260.0300.05014.67
5.3.250.0400.06714.58
5.3.240.0330.04314.70
5.3.230.0300.05714.58
5.3.220.0300.05314.60
5.3.210.0270.05714.52
5.3.200.0300.05014.61
5.3.190.0330.04714.55
5.3.180.0300.05014.47
5.3.170.0270.05714.53
5.3.160.0200.06314.53
5.3.150.0370.04714.66
5.3.140.0300.05314.50
5.3.130.0230.06014.64
5.3.120.0400.05014.50
5.3.110.0330.05714.53
5.3.100.0370.05314.13
5.3.90.0230.05714.01
5.3.80.0330.05714.01
5.3.70.0330.07314.02
5.3.60.0300.05013.97
5.3.50.0270.05313.85
5.3.40.0370.04313.91
5.3.30.0300.05013.84
5.3.20.0330.05013.68
5.3.10.0330.05013.59
5.3.00.0300.05313.61
5.2.170.0230.04011.15
5.2.160.0230.03711.13
5.2.150.0270.04711.05
5.2.140.0170.04711.07
5.2.130.0230.03711.07
5.2.120.0270.03711.11
5.2.110.0200.04711.06
5.2.100.0300.03311.05
5.2.90.0270.03711.02
5.2.80.0270.03711.00
5.2.70.0200.04311.08
5.2.60.0270.03711.05
5.2.50.0270.04710.99
5.2.40.0170.04010.97
5.2.30.0130.04710.88
5.2.20.0270.04310.89
5.2.10.0230.03310.86
5.2.00.0200.04710.71
5.1.60.0170.0339.98
5.1.50.0130.03710.01
5.1.40.0230.0309.95
5.1.30.0230.03010.38
5.1.20.0170.04010.46
5.1.10.0200.03310.13
5.1.00.0270.03010.09
5.0.50.0070.0308.61
5.0.40.0070.0308.43
5.0.30.0070.0478.25
5.0.20.0100.0278.28
5.0.10.0070.0338.26
5.0.00.0130.0408.38
4.4.90.0100.0235.89
4.4.80.0070.0305.85
4.4.70.0100.0205.88
4.4.60.0130.0175.85
4.4.50.0070.0235.88
4.4.40.0130.0375.91
4.4.30.0100.0235.89
4.4.20.0170.0175.88
4.4.10.0100.0205.92
4.4.00.0100.0405.92
4.3.110.0070.0235.81
4.3.100.0070.0275.80
4.3.90.0100.0205.82
4.3.80.0100.0335.81
4.3.70.0100.0205.76
4.3.60.0130.0175.84
4.3.50.0100.0205.82
4.3.40.0170.0275.75
4.3.30.0000.0275.12
4.3.20.0070.0205.12
4.3.10.0030.0235.12
4.3.00.0070.0236.93