3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "expand":"names", "startAt":0, "maxResults":50, "total":1, "issues":[ { "expand":"example", "id":"129018", "self":"https://example.com", "key":"914", "fields":{ "summary":"Hello there" } } ] }'; $array_result = json_decode($json); echo '<pre>'; print_r($array_result); echo '</pre>'; echo $array_result->issues[0]->fields->summary;

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0090.00618.55
8.3.60.0150.00716.25
8.3.50.0210.00821.98
8.3.40.0130.00318.89
8.3.30.0110.00418.76
8.3.20.0080.00018.77
8.3.10.0000.00819.98
8.3.00.0000.00817.91
8.2.180.0110.01116.74
8.2.170.0110.00422.96
8.2.160.0100.00722.08
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0000.00721.00
8.2.120.0080.00026.35
8.2.110.0070.01120.84
8.2.100.0070.00418.22
8.2.90.0080.00019.31
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0000.00818.03
8.2.50.0040.00418.07
8.2.40.0050.00518.16
8.2.30.0040.00418.08
8.2.20.0040.00417.65
8.2.10.0030.00518.18
8.2.00.0000.00718.05
8.1.280.0100.00725.92
8.1.270.0080.00023.91
8.1.260.0060.00328.09
8.1.250.0050.00328.09
8.1.240.0060.00323.97
8.1.230.0040.00717.77
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0030.00617.11
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0060.00818.12
8.1.160.0000.00718.90
8.1.150.0000.00718.84
8.1.140.0040.00419.40
8.1.130.0030.00317.69
8.1.120.0070.00017.41
8.1.110.0040.00417.40
8.1.100.0000.00717.44
8.1.90.0080.00017.34
8.1.80.0000.00717.45
8.1.70.0030.00517.40
8.1.60.0000.00717.44
8.1.50.0050.00317.50
8.1.40.0040.00417.35
8.1.30.0050.00317.67
8.1.20.0040.00417.60
8.1.10.0000.00717.48
8.1.00.0050.00317.51
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0080.00018.40
8.0.270.0070.00017.34
8.0.260.0070.00017.34
8.0.250.0000.00716.96
8.0.240.0040.00416.92
8.0.230.0030.00416.91
8.0.220.0030.00616.73
8.0.210.0030.00316.82
8.0.200.0070.00016.90
8.0.190.0000.00916.93
8.0.180.0060.00316.91
8.0.170.0000.00816.75
8.0.160.0080.00416.73
8.0.150.0000.00716.82
8.0.140.0070.00016.71
8.0.130.0050.00013.25
8.0.120.0060.00316.71
8.0.110.0080.00016.84
8.0.100.0000.00816.79
8.0.90.0000.00816.81
8.0.80.0160.00316.80
8.0.70.0000.00716.80
8.0.60.0040.00416.84
8.0.50.0000.00716.89
8.0.30.0100.00817.07
8.0.20.0090.01317.40
8.0.10.0000.00716.95
8.0.00.0120.00816.84
7.4.330.0000.00615.08
7.4.320.0030.00316.54
7.4.300.0000.00616.51
7.4.290.0050.00316.60
7.4.280.0000.00816.50
7.4.270.0000.00816.66
7.4.260.0080.00316.41
7.4.250.0040.00416.59
7.4.240.0040.00316.51
7.4.230.0030.00316.70
7.4.220.0090.00916.55
7.4.210.0070.01016.66
7.4.200.0000.00716.43
7.4.160.0150.00416.39
7.4.150.0030.01617.40
7.4.140.0100.00817.86
7.4.130.0110.00716.51
7.4.120.0070.01016.61
7.4.110.0140.01116.29
7.4.100.0100.00716.54
7.4.90.0120.00616.44
7.4.80.0130.00319.39
7.4.70.0050.01116.50
7.4.60.0060.01016.59
7.4.50.0060.01016.45
7.4.40.0130.01016.39
7.4.30.0060.01016.32
7.4.00.0090.00914.98
7.3.330.0030.00312.95
7.3.320.0030.00312.98
7.3.310.0030.00316.07
7.3.300.0040.00416.07
7.3.290.0030.00316.21
7.3.280.0070.00916.22
7.3.270.0060.01017.40
7.3.260.0110.01216.47
7.3.250.0070.01216.46
7.3.240.0070.01416.40
7.3.230.0030.01316.39
7.3.210.0060.00916.26
7.3.200.0150.00019.39
7.3.190.0070.01016.52
7.3.180.0030.01316.44
7.3.170.0130.00316.45
7.3.160.0120.00616.34
7.3.120.0060.01314.72
7.3.110.0090.00914.71
7.3.100.0070.01014.86
7.3.90.0110.00414.85
7.3.80.0070.01314.70
7.3.70.0070.00314.93
7.3.60.0030.00714.92
7.3.50.0030.00614.91
7.3.40.0040.01114.80
7.3.30.0040.00414.82
7.3.20.0040.01116.73
7.3.10.0070.00716.42
7.3.00.0060.00616.56
7.2.330.0070.01116.62
7.2.320.0130.00616.59
7.2.310.0100.01316.35
7.2.300.0100.00616.76
7.2.290.0100.00716.66
7.2.250.0030.01315.23
7.2.240.0060.01115.01
7.2.230.0040.01115.20
7.2.220.0000.01415.18
7.2.210.0000.00914.62
7.2.200.0000.01114.89
7.2.190.0080.00815.05
7.2.180.0060.00615.19
7.2.170.0030.00915.13
7.2.160.0040.00814.81
7.2.150.0090.00616.55
7.2.140.0130.00316.89
7.2.130.0070.00916.66
7.2.120.0070.00716.62
7.2.110.0050.00916.92
7.2.100.0080.00816.89
7.2.90.0060.00816.88
7.2.80.0070.00616.66
7.2.70.0030.01116.93
7.2.60.0080.00616.85
7.2.50.0050.01216.89
7.2.40.0100.00516.77
7.2.30.0020.01016.85
7.2.20.0050.00816.76
7.2.10.0060.00617.01
7.2.00.0060.00917.69
7.1.330.0040.01215.81
7.1.320.0070.01015.80
7.1.310.0070.00715.91
7.1.300.0030.01315.66
7.1.290.0040.00715.82
7.1.280.0090.00915.79
7.1.270.0070.00315.60
7.1.260.0000.01415.96
7.1.250.0090.00615.71
7.1.240.0100.00716.04
7.1.230.0130.00315.65
7.1.220.0030.01315.49
7.1.210.0040.00815.95
7.1.200.0040.01115.61
7.1.190.0060.00615.93
7.1.180.0030.00715.55
7.1.170.0050.00515.87
7.1.160.0040.01115.86
7.1.150.0070.00415.93
7.1.140.0000.01515.79
7.1.130.0000.01415.80
7.1.120.0110.00415.41
7.1.110.0080.00615.79
7.1.100.0070.00716.79
7.1.90.0030.01015.54
7.1.80.0090.00615.64
7.1.70.0030.01016.46
7.1.60.0120.00817.58
7.1.50.0070.00716.02
7.1.40.0110.00415.80
7.1.30.0040.01115.74
7.1.20.0000.01415.75
7.1.10.0030.00715.70
7.1.00.0100.04019.28
7.0.330.0030.01015.20
7.0.320.0030.01015.37
7.0.310.0090.00615.11
7.0.300.0030.00915.43
7.0.290.0000.01315.43
7.0.280.0030.01015.34
7.0.270.0090.00615.39
7.0.260.0070.00715.35
7.0.250.0060.00615.41
7.0.240.0040.01215.24
7.0.230.0000.01015.13
7.0.220.0090.00315.58
7.0.210.0060.00615.14
7.0.200.0080.00815.07
7.0.190.0100.00315.39
7.0.180.0040.00815.33
7.0.170.0040.00415.30
7.0.160.0030.01015.42
7.0.150.0070.00715.57
7.0.140.0040.00415.39
7.0.130.0040.01415.31
7.0.120.0080.00815.29
7.0.110.0030.01015.47
7.0.100.0090.00315.18
7.0.90.0000.01515.40
7.0.80.0000.01415.36
7.0.70.0070.00715.48
7.0.60.0170.04217.70
7.0.50.0110.03317.99
7.0.40.0100.03216.93
7.0.30.0130.03116.95
7.0.20.0200.03116.87
7.0.10.0170.03416.86
7.0.00.0170.03316.86
5.6.400.0060.00614.57
5.6.390.0090.00014.35
5.6.380.0000.00914.21
5.6.370.0060.00914.04
5.6.360.0090.00614.37
5.6.350.0030.01014.59
5.6.340.0030.01214.31
5.6.330.0030.00814.62
5.6.320.0070.00714.13
5.6.310.0050.00514.72
5.6.300.0060.00614.60
5.6.290.0110.00414.59
5.6.280.0100.03817.44
5.6.270.0070.00714.04
5.6.260.0030.00914.48
5.6.250.0060.00614.03
5.6.240.0110.00614.41
5.6.230.0030.00714.43
5.6.220.0000.00914.02
5.6.210.0100.02717.49
5.6.200.0050.03817.75
5.6.190.0100.03517.60
5.6.180.0230.02817.63
5.6.170.0060.03517.69
5.6.160.0180.03317.55
5.6.150.0180.02517.56
5.6.140.0050.04017.76
5.6.130.0110.03517.64
5.6.120.0120.02917.74
5.6.110.0150.03517.55
5.6.100.0160.02717.59
5.6.90.0120.03917.63
5.6.80.0050.03317.30
5.6.70.0140.02717.30
5.6.60.0080.03217.39
5.6.50.0120.03217.43
5.6.40.0140.03417.34
5.6.30.0100.03117.34
5.6.20.0080.03017.45
5.6.10.0130.02817.42
5.6.00.0070.03317.25
5.5.380.0070.01014.26
5.5.370.0110.00414.23
5.5.360.0060.00613.89
5.5.350.0170.04117.36
5.5.340.0100.03317.50
5.5.330.0150.02817.63
5.5.320.0100.02817.62
5.5.310.0140.02917.57
5.5.300.0160.02617.43
5.5.290.0030.03917.76
5.5.280.0050.03817.55
5.5.270.0020.03817.38
5.5.260.0180.04017.44
5.5.250.0220.02817.42
5.5.240.0200.02117.16
5.5.230.0150.02617.25
5.5.220.0110.03017.05
5.5.210.0080.03217.07
5.5.200.0140.02917.13
5.5.190.0070.03517.18
5.5.180.0080.03317.23
5.5.170.0100.00314.09
5.5.160.0170.02517.27
5.5.150.0080.03517.29
5.5.140.0170.02517.25
5.5.130.0100.03417.20
5.5.120.0180.02517.20
5.5.110.0120.03317.31
5.5.100.0100.03117.19
5.5.90.0100.03117.13
5.5.80.0140.02617.08
5.5.70.0070.03417.19
5.5.60.0090.03917.23
5.5.50.0170.02517.24
5.5.40.0130.02817.04
5.5.30.0150.02617.19
5.5.20.0150.02717.21
5.5.10.0150.02717.19
5.5.00.0200.02217.04

preferences:
64.4 ms | 401 KiB | 5 Q