3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "server_response": [ { "error": true, "instId": "1", "instName": "abc", "instDescription": "my description", "instLogo": "web.com/image/mylogo.jgp" } ] }'; $result = json_decode ($json); print_r($result); echo $result->server_response[0]->instDescription;

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.4.120.0130.00923.84
8.4.110.0160.00418.71
8.4.100.0060.00318.70
8.4.90.0150.00620.61
8.4.80.0050.00318.91
8.4.70.0060.00218.95
8.4.60.0110.00919.03
8.4.50.0070.00818.75
8.4.40.0120.00818.74
8.4.30.0120.00917.47
8.4.20.0120.00817.88
8.4.10.0060.01017.51
8.3.250.0120.00718.98
8.3.240.0110.00816.89
8.3.230.0090.00916.67
8.3.220.0050.00219.06
8.3.210.0100.00818.41
8.3.200.0030.00616.52
8.3.190.0100.00816.93
8.3.180.0080.01018.96
8.3.170.0070.00720.61
8.3.160.0000.00817.29
8.3.150.0110.00716.54
8.3.140.0110.00418.64
8.3.130.0080.00016.47
8.3.120.0030.00520.53
8.3.110.0140.00720.94
8.3.100.0060.00324.06
8.3.90.0050.00326.77
8.3.80.0040.00817.97
8.3.70.0120.00316.25
8.3.60.0110.00718.18
8.3.50.0120.00722.00
8.3.40.0090.00618.84
8.3.30.0150.00018.50
8.3.20.0030.00622.10
8.3.10.0000.00721.95
8.3.00.0030.00519.38
8.2.290.0100.00920.54
8.2.280.0100.00720.48
8.2.270.0070.01116.61
8.2.260.0050.00316.38
8.2.250.0040.00416.54
8.2.240.0090.00018.86
8.2.230.0040.00422.58
8.2.220.0080.00037.54
8.2.210.0070.00726.77
8.2.200.0030.00616.38
8.2.190.0170.00316.75
8.2.180.0170.00316.38
8.2.170.0090.00922.96
8.2.160.0130.00319.50
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0090.00022.33
8.2.120.0040.00426.35
8.2.110.0040.00422.14
8.2.100.0040.00817.84
8.2.90.0050.00319.20
8.2.80.0060.00317.97
8.2.70.0040.00417.75
8.2.60.0100.00017.93
8.2.50.0030.00518.07
8.2.40.0030.00618.41
8.2.30.0000.00718.04
8.2.20.0040.00417.62
8.2.10.0000.00718.21
8.2.00.0040.00417.99
8.1.330.0130.00521.89
8.1.320.0100.00816.15
8.1.310.0040.00716.16
8.1.300.0080.00318.40
8.1.290.0030.00630.84
8.1.280.0170.00725.92
8.1.270.0050.00323.89
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0090.00020.77
8.1.230.0040.00717.95
8.1.220.0090.00017.74
8.1.210.0090.00018.77
8.1.200.0050.00517.10
8.1.190.0030.00617.10
8.1.180.0080.00018.10
8.1.170.0050.00518.57
8.1.160.0000.00718.83
8.1.150.0040.00418.82
8.1.140.0040.00419.45
8.1.130.0030.00317.73
8.1.120.0070.00017.47
8.1.110.0040.00417.42
8.1.100.0040.00417.45
8.1.90.0030.00517.43
8.1.80.0030.00317.35
8.1.70.0070.00017.34
8.1.60.0000.00817.38
8.1.50.0050.00317.49
8.1.40.0000.00817.49
8.1.30.0040.00417.55
8.1.20.0050.00217.61
8.1.10.0040.00417.58
8.1.00.0000.00717.48
8.0.300.0040.00418.77
8.0.290.0000.00816.63
8.0.280.0070.00020.24
8.0.270.0030.00317.32
8.0.260.0000.00617.16
8.0.250.0030.00316.93
8.0.240.0000.00817.00
8.0.230.0000.00816.88
8.0.220.0030.00316.76
8.0.210.0070.00016.81
8.0.200.0000.00716.89
8.0.190.0070.00016.78
8.0.180.0040.00416.91
8.0.170.0040.00416.75
8.0.160.0030.00516.72
8.0.150.0000.00716.80
8.0.140.0040.00416.80
8.0.130.0060.00013.21
8.0.120.0040.00416.73
8.0.110.0040.00416.75
8.0.100.0070.00016.84
8.0.90.0050.00216.78
8.0.80.0100.01116.88
8.0.70.0030.00516.63
8.0.60.0070.00016.82
8.0.50.0000.00716.82
8.0.30.0130.00116.91
8.0.20.0130.00717.40
8.0.10.0030.00316.84
8.0.00.0100.01316.91
7.4.330.0000.00515.09
7.4.320.0030.00316.48
7.4.300.0030.00316.59
7.4.290.0080.00016.51
7.4.280.0040.00416.46
7.4.270.0080.00416.63
7.4.260.0040.00716.50
7.4.250.0030.00316.36
7.4.240.0050.00316.50
7.4.230.0000.00816.62
7.4.220.0060.01316.66
7.4.210.0180.00316.61
7.4.200.0000.00816.58
7.4.160.0080.00816.36
7.4.150.0110.00617.40
7.4.140.0110.00717.86
7.4.130.0110.00616.45
7.4.120.0050.01216.53
7.4.110.0100.00716.64
7.4.100.0110.00516.60
7.4.90.0080.00816.51
7.4.80.0140.00719.39
7.4.70.0060.01216.48
7.4.60.0030.02016.49
7.4.50.0000.01816.53
7.4.40.0030.01316.76
7.4.30.0130.00316.56
7.4.00.0040.01414.93
7.3.330.0030.00312.95
7.3.320.0050.00012.94
7.3.310.0000.00716.02
7.3.300.0000.00616.11
7.3.290.0100.00716.24
7.3.280.0090.00816.21
7.3.270.0140.00417.40
7.3.260.0140.00616.39
7.3.250.0100.01016.37
7.3.240.0080.01716.37
7.3.230.0130.00316.46
7.3.210.0060.01016.48
7.3.200.0100.00616.35
7.3.190.0170.00016.41
7.3.180.0090.01216.31
7.3.170.0040.01116.41
7.3.160.0120.00916.44
7.3.120.0150.00014.55
7.3.110.0070.01114.93
7.3.100.0110.00315.04
7.3.90.0070.00714.50
7.3.80.0030.00714.98
7.3.70.0090.00314.67
7.3.60.0000.01314.59
7.3.50.0040.00714.59
7.3.40.0030.00614.86
7.3.30.0060.00314.98
7.3.20.0040.01116.72
7.3.10.0040.01216.72
7.3.00.0040.01116.54
7.2.330.0070.01316.26
7.2.320.0100.00716.67
7.2.310.0060.01016.45
7.2.300.0190.00516.61
7.2.290.0120.00616.32
7.2.250.0040.01515.17
7.2.240.0070.01314.95
7.2.230.0060.00814.93
7.2.220.0070.01015.04
7.2.210.0090.00615.08
7.2.200.0030.01015.03
7.2.190.0030.00714.96
7.2.180.0060.00314.87
7.2.170.0040.00815.13
7.2.60.0030.01017.04
7.1.330.0040.01115.83
7.1.320.0040.01115.51
7.1.310.0040.00715.90
7.1.300.0060.00815.78
7.1.290.0100.00315.45
7.1.280.0060.00915.61
7.1.270.0090.00615.54
7.1.260.0000.01415.60
7.1.200.0030.00615.71
7.1.70.0000.00817.33
7.1.60.0000.01117.29
7.1.00.0070.07322.45
7.0.200.0070.01016.85
7.0.80.0100.06720.04
7.0.70.0100.06720.02
7.0.60.0170.05719.98
7.0.50.0230.05020.36
7.0.40.0170.05720.36
7.0.30.0170.05720.27
7.0.20.0100.06320.31
7.0.10.0170.06020.30
7.0.00.0200.05320.38
5.6.280.0070.07021.08
5.6.230.0070.06320.77
5.6.220.0100.05720.76
5.6.210.0100.05720.66
5.6.200.0100.06021.04
5.6.190.0100.05721.00
5.6.180.0170.05021.06
5.6.170.0070.06021.02
5.6.160.0030.06321.08
5.6.150.0170.06321.17
5.6.140.0170.06021.07
5.6.130.0100.06021.19
5.6.120.0270.05721.19
5.6.110.0170.05721.04
5.6.100.0100.06321.10
5.6.90.0130.06021.11
5.6.80.0100.05320.55
5.6.70.0070.06020.51
5.6.60.0100.05320.38
5.6.50.0170.05020.52
5.6.40.0070.06020.43
5.6.30.0100.05720.34
5.6.20.0170.05020.46
5.6.10.0130.05020.52
5.6.00.0100.05720.43
5.5.370.0030.06320.55
5.5.360.0200.05020.41
5.5.350.0100.06320.43
5.5.340.0130.05320.97
5.5.330.0170.05020.71
5.5.320.0070.06020.95
5.5.310.0130.05320.94
5.5.300.0130.05320.92
5.5.290.0070.06320.91
5.5.280.0170.06320.95
5.5.270.0100.06320.88
5.5.260.0100.06020.93
5.5.250.0070.06320.58
5.5.240.0200.04720.23
5.5.230.0170.05020.29
5.5.220.0100.05720.22
5.5.210.0030.06020.09
5.5.200.0200.04720.18
5.5.190.0100.06020.23
5.5.180.0230.06020.27
5.5.160.0070.05720.28
5.5.150.0070.05720.26
5.5.140.0170.04720.24
5.5.130.0100.05320.30
5.5.120.0200.06720.25
5.5.110.0170.05720.27
5.5.100.0130.05320.14
5.5.90.0100.05320.14
5.5.80.0200.04320.18
5.5.70.0100.06020.08
5.5.60.0070.05720.21
5.5.50.0100.05320.12
5.5.40.0100.05320.08
5.5.30.0070.05720.13
5.5.20.0070.05720.12
5.5.10.0030.06020.10
5.5.00.0070.06320.13

preferences:
28.84 ms | 403 KiB | 5 Q