3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $response = '{"status":"failure","reason":{"base":["Reached campaign cap"]},"testing":false}'; $data = json_decode($response, true); var_dump($data);
based on Adfud

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.0140.01419.13
7.1.100.0000.01518.22
7.1.70.0000.00717.09
7.1.60.0060.01919.50
7.1.50.0090.01216.72
7.1.00.0030.07722.45
7.0.200.0130.00314.80
7.0.140.0070.06022.10
7.0.60.0030.04019.91
7.0.50.0030.04017.85
7.0.40.0100.06720.05
7.0.30.0400.05020.13
7.0.20.0300.06720.12
7.0.10.0200.07020.30
7.0.00.0100.03320.00
5.6.280.0000.07721.07
5.6.210.0030.05020.66
5.6.200.0100.08318.11
5.6.190.0070.06720.54
5.6.180.0330.05320.35
5.6.170.0400.07320.33
5.6.160.0070.07720.52
5.6.150.0070.04718.15
5.6.140.0030.04018.21
5.6.130.0070.07718.20
5.6.120.0070.05320.99
5.6.110.0030.04320.97
5.6.100.0030.09720.97
5.6.90.0130.08321.09
5.6.80.0100.05020.37
5.6.70.0270.02320.39
5.5.350.0400.06720.43
5.5.340.0070.07318.02
5.5.330.0070.08720.23
5.5.320.0070.08020.07
5.5.310.0270.04020.29
5.5.300.0130.05717.89
5.5.290.0070.07717.91
5.5.280.0030.04320.96
5.5.270.0170.07320.87
5.5.260.0070.08320.67
5.5.250.0170.07320.67
5.5.240.0070.03720.06
5.4.450.4130.05019.52
5.4.440.0000.06719.39
5.4.430.1330.04319.48
5.4.420.4030.04319.48
5.4.410.3830.03319.24
5.4.400.4030.03319.16
5.4.390.4130.04018.93
5.4.380.3930.03018.87
5.4.370.2830.03719.13
5.4.360.2570.04019.18
5.4.350.3500.04319.04
5.4.340.2900.03319.16
5.4.320.3670.04019.17
5.4.310.3830.04319.04
5.4.300.3900.04019.00
5.4.290.3500.03718.92
5.4.280.4170.03719.04
5.4.270.4570.03719.16
5.4.260.3270.03019.09
5.4.250.4930.03719.17
5.4.240.4030.04019.07
5.4.230.3830.03319.15
5.4.220.3700.03718.91
5.4.210.3500.03319.07
5.4.200.3770.04019.07
5.4.190.3170.04319.15
5.4.180.4270.04019.18
5.4.170.4370.04019.03
5.4.160.4230.03318.91
5.4.150.4370.03319.16
5.4.140.3500.03016.43
5.4.130.4070.03716.39
5.4.120.3870.02716.34
5.4.110.3930.03716.50
5.4.100.3200.03016.49
5.4.90.3730.03716.25
5.4.80.4170.03316.31
5.4.70.3930.03716.45
5.4.60.3830.03316.35
5.4.50.3930.03316.36
5.4.40.3600.03316.13
5.4.30.4070.03716.39
5.4.20.3870.03716.10
5.4.10.4700.03716.32
5.4.00.5870.03015.79
5.3.290.3200.03314.58
5.3.280.3600.03014.57
5.3.270.4630.04314.54
5.3.260.4730.03314.54
5.3.250.4170.03714.58
5.3.240.3770.03714.53
5.3.230.3730.03014.41
5.3.220.4000.04014.49
5.3.210.3830.03714.49
5.3.200.3630.03314.58
5.3.190.4470.03014.58
5.3.180.4300.04014.50
5.3.170.4330.03314.44
5.3.160.3970.03314.50
5.3.150.4070.03714.49
5.3.140.3670.04714.50
5.3.130.3870.04014.44
5.3.120.4400.03714.47
5.3.110.4730.04314.48
5.3.100.3830.03313.97
5.3.90.3330.03313.95
5.3.80.4500.04014.11
5.3.70.3500.03713.98
5.3.60.0100.07013.96
5.3.50.0030.07313.87
5.3.40.4370.04013.88
5.3.30.4400.03013.83
5.3.20.3430.03013.63
5.3.10.4430.03713.58
5.3.00.4130.02713.58
5.2.170.0030.06311.04
5.2.160.1530.03010.96
5.2.150.3670.03711.03
5.2.140.3330.02711.07
5.2.130.3870.02711.07
5.2.120.3630.03011.25
5.2.110.3870.03011.02
5.2.100.3930.03311.00
5.2.90.3900.03011.00
5.2.80.2970.03311.05
5.2.70.3700.03010.99
5.2.60.3570.02710.93
5.2.50.3830.03010.98
5.2.40.3170.03010.91
5.2.30.1070.04010.85
5.2.20.0070.04310.85
5.2.10.0130.05310.93
5.2.00.0070.05310.59
5.1.60.3170.0179.96
5.1.50.3170.0179.94
5.1.40.2970.0279.81
5.1.30.2970.02010.32
5.1.20.3200.02710.49
5.1.10.2800.02310.07
5.1.00.3370.02310.06
5.0.50.1030.0238.52
5.0.40.0800.0178.39
5.0.30.0830.0308.12
5.0.20.1000.0178.18
5.0.10.1030.0178.13
5.0.00.1330.0278.30
4.4.90.1800.0175.78
4.4.80.1730.0175.80
4.4.70.0030.0175.78
4.4.60.0030.0235.82
4.4.50.0000.0375.86
4.4.40.1800.0235.83
4.4.30.1700.0075.89
4.4.20.1330.0135.87
4.4.10.1000.0175.87
4.4.00.1270.0275.79
4.3.110.0730.0135.70
4.3.100.0770.0105.81
4.3.90.1000.0105.70
4.3.80.1270.0235.70
4.3.70.1100.0135.66
4.3.60.0730.0175.71
4.3.50.1270.0135.75
4.3.40.1330.0235.65
4.3.30.0730.0104.49
4.3.20.0670.0134.43
4.3.10.0430.0174.41
4.3.00.0470.0134.49