3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $json = json_decode('{"thumbnail":{"url":"http:\/\/www.livestream.com\/filestore\/user-files\/chlukeestv\/2010\/01\/04\/92609a8d-afa6-4832-a8b2-ac4dc2925f4b_10.jpg"}}'); var_dump($json->thumbnail->url);

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.60.0040.00816.66
7.2.00.0100.00619.22
7.1.200.0110.00015.75
7.1.100.0060.00618.06
7.1.70.0040.00416.96
7.1.60.0100.01319.82
7.1.50.0090.01316.53
7.1.00.0070.07322.36
7.0.200.0000.00816.55
7.0.140.0100.07022.08
7.0.60.0030.04019.91
7.0.50.0070.08317.81
7.0.40.0100.08720.16
7.0.30.0400.05720.19
7.0.20.0300.04720.00
7.0.10.0200.07320.13
7.0.00.0100.08020.09
5.6.280.0000.07721.06
5.6.210.0000.04320.74
5.6.200.0100.05018.22
5.6.190.0130.08020.64
5.6.180.0500.06720.43
5.6.170.0330.07720.34
5.6.160.0070.08020.37
5.6.150.0070.05318.21
5.6.140.0030.09018.13
5.6.130.0100.05018.11
5.6.120.0130.05021.09
5.6.110.0100.08020.98
5.6.100.0130.07720.95
5.6.90.0170.08021.03
5.6.80.0070.05020.28
5.5.350.0170.08320.46
5.5.340.0130.07318.02
5.5.330.0100.07020.21
5.5.320.0070.04020.17
5.5.310.0200.04320.26
5.5.300.0070.03318.00
5.5.290.0030.04318.02
5.5.280.0000.05020.76
5.5.270.0070.08720.78
5.5.260.0000.05720.73
5.5.250.0070.08720.64
5.5.240.0070.05720.17
5.4.450.0070.06319.38
5.4.440.0130.07019.15
5.4.430.0000.07319.43
5.4.420.0070.07719.57
5.4.410.0070.04719.36
5.4.400.0070.07319.08
5.4.390.0070.07319.10
5.4.380.0030.07319.09
5.4.370.0100.05719.22
5.4.360.0000.06018.93
5.4.350.0100.06018.81
5.4.340.0070.07718.91
5.4.320.0030.08019.13
5.4.310.0070.05718.80
5.4.300.0030.08019.21
5.4.290.0030.04319.21
5.4.280.0030.08018.88
5.4.270.0070.07319.09
5.4.260.0100.07318.80
5.4.250.0030.08319.08
5.4.240.0130.07019.25
5.4.230.0130.06718.80
5.4.220.0070.07719.24
5.4.210.0030.07718.91
5.4.200.0000.05318.88
5.4.190.0070.06319.12
5.4.180.0030.04719.08
5.4.170.0070.07719.24
5.4.160.0000.08719.05
5.4.150.0030.06718.76
5.4.140.0100.07016.59
5.4.130.0030.07016.27
5.4.120.0070.05016.46
5.4.110.0100.05316.39
5.4.100.0030.04016.38
5.4.90.0000.07716.41
5.4.80.0000.07316.34
5.4.70.0000.07316.38
5.4.60.0030.07316.44
5.4.50.0030.05316.52
5.4.40.0070.06016.43
5.4.30.0130.06316.36
5.4.20.0000.07716.28
5.4.10.0100.03716.40
5.4.00.0130.06015.74
5.3.290.0030.08014.61
5.3.280.0070.05014.44
5.3.270.0070.07314.57
5.3.260.0130.07014.53
5.3.250.0000.06014.56
5.3.240.0070.06714.48
5.3.230.0030.07714.57
5.3.220.0030.06714.44
5.3.210.0070.07314.42
5.3.200.0030.05014.52
5.3.190.0030.07314.52
5.3.180.0000.08314.65
5.3.170.0070.07014.46
5.3.160.0000.07314.48
5.3.150.0070.04014.50
5.3.140.0000.08314.46
5.3.130.0030.07314.50
5.3.120.0000.05014.50
5.3.110.0070.04714.50
5.3.100.0030.06714.06
5.3.90.0030.07013.96
5.3.80.0000.07313.96
5.3.70.0000.06714.11