3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str ='HTTP/1.1 200 OK Server: YYYYYYYYY Content-Type: application/json Content-Length: 163 X-OAPI-Request-Id: XXXXXXXXXXXXXX { "token_type": "berber", "access_token": "XXXXXXXXYYYYYYY", "expires_in": "7776000" }'; $arr = json_decode($str, true); Var_dump($arr);

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.5.10.0130.00618.31
8.5.00.0120.00919.91
8.4.150.0020.00014.05
8.4.140.0150.00517.40
8.4.130.0100.00917.98
8.4.120.0110.00722.38
8.4.110.0130.00422.58
8.4.100.0130.00718.84
8.4.90.0100.00918.79
8.4.80.0100.01018.68
8.4.70.0050.00317.80
8.4.60.0060.00418.61
8.4.50.0110.00918.48
8.4.40.0040.01119.37
8.4.30.0070.01417.47
8.4.20.0130.00319.44
8.4.10.0090.01217.27
8.3.280.0090.01118.23
8.3.270.0110.00916.36
8.3.260.0100.00916.52
8.3.250.0130.00518.82
8.3.240.0140.00516.38
8.3.230.0120.00616.92
8.3.220.0120.00618.95
8.3.210.0070.00816.52
8.3.200.0060.00316.56
8.3.190.0150.00416.91
8.3.180.0080.01017.26
8.3.170.0110.00720.56
8.3.160.0120.00616.73
8.3.150.0130.00617.07
8.3.140.0000.00816.39
8.3.130.0100.00018.39
8.3.120.0030.00718.66
8.3.110.0060.00320.94
8.3.100.0030.00624.06
8.3.90.0000.00818.01
8.3.80.0060.00318.43
8.3.70.0070.00716.13
8.3.60.0100.01018.30
8.3.50.0090.00618.15
8.3.40.0070.00718.41
8.3.30.0110.00418.42
8.3.20.0040.00421.69
8.3.10.0030.00623.48
8.3.00.0080.00021.85
8.2.290.0080.00120.39
8.2.280.0120.00818.57
8.2.270.0140.00417.18
8.2.260.0070.01016.59
8.2.250.0050.00318.37
8.2.240.0000.00818.95
8.2.230.0060.00322.58
8.2.220.0040.00437.54
8.2.210.0070.01126.77
8.2.200.0050.00918.41
8.2.190.0100.00316.63
8.2.180.0110.00416.50
8.2.170.0140.00322.96
8.2.160.0100.00322.17
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00020.35
8.2.120.0040.00426.35
8.2.110.0030.00620.99
8.2.100.0090.00317.66
8.2.90.0000.00719.23
8.2.80.0000.00817.97
8.2.70.0000.00817.37
8.2.60.0080.00017.93
8.2.50.0000.00718.10
8.2.40.0040.00420.59
8.2.30.0070.00019.18
8.2.20.0090.00017.83
8.2.10.0040.00417.98
8.2.00.0000.00718.10
8.1.330.0100.00821.66
8.1.320.0130.00518.26
8.1.310.0050.00317.82
8.1.300.0000.00915.95
8.1.290.0060.00318.88
8.1.280.0140.00025.92
8.1.270.0030.00622.06
8.1.260.0000.00826.35
8.1.250.0150.00428.09
8.1.240.0180.00022.04
8.1.230.0070.00320.97
8.1.220.0070.00017.74
8.1.210.0030.00618.77
8.1.200.0070.00317.23
8.1.190.0060.00617.00
8.1.180.0070.00018.10
8.1.170.0070.00018.51
8.1.160.0000.00718.77
8.1.150.0030.00318.80
8.1.140.0000.00719.07
8.1.130.0030.00317.81
8.1.120.0030.00317.34
8.1.110.0050.00317.28
8.1.100.0040.00417.45
8.1.90.0030.00617.41
8.1.80.0030.00717.40
8.1.70.0070.00017.32
8.1.60.0080.00017.53
8.1.50.0000.00817.43
8.1.40.0040.00417.43
8.1.30.0000.00817.48
8.1.20.0030.00517.58
8.1.10.0040.00417.37
8.1.00.0000.00817.40
8.0.300.0000.00818.77
8.0.290.0050.00316.58
8.0.280.0050.00318.27
8.0.270.0030.00317.24
8.0.260.0030.00317.10
8.0.250.0000.00716.85
8.0.240.0040.00416.79
8.0.230.0070.00016.86
8.0.220.0000.00816.73
8.0.210.0030.00316.70
8.0.200.0060.00016.76
8.0.190.0040.00716.84
8.0.180.0040.00416.88
8.0.170.0000.00916.86
8.0.160.0030.00316.71
8.0.150.0030.00316.83
8.0.140.0040.00716.76
8.0.130.0000.00813.25
8.0.120.0030.00616.66
8.0.110.0040.00416.69
8.0.100.0000.00716.75
8.0.90.0000.00816.69
8.0.80.0060.01216.82
8.0.70.0040.00416.83
8.0.60.0040.00416.85
8.0.50.0030.00516.91
8.0.30.0110.00716.92
8.0.20.0110.00817.40
8.0.10.0040.00417.05
8.0.00.0100.00716.61
7.4.330.0000.00415.55
7.4.320.0070.00016.45
7.4.300.0070.00016.55
7.4.290.0030.00316.43
7.4.280.0070.00316.50
7.4.270.0070.00016.53
7.4.260.0000.00716.40
7.4.250.0050.00216.39
7.4.240.0000.00816.50
7.4.230.0030.00416.41
7.4.220.0030.00316.26
7.4.210.0040.01116.35
7.4.200.0000.00716.32
7.4.160.0110.00616.33
7.4.150.0120.00617.40
7.4.140.0120.00817.86
7.4.130.0120.00616.41
7.4.120.0110.00916.38
7.4.110.0040.01216.26
7.4.100.0030.02016.34
7.4.90.0070.01716.38
7.4.80.0140.00319.39
7.4.70.0060.01316.46
7.4.60.0100.00716.52
7.4.50.0000.01216.50
7.4.40.0030.01616.45
7.4.30.0090.00916.28
7.4.00.0100.00714.84
7.3.330.0030.00312.97
7.3.320.0050.00012.91
7.3.310.0040.00416.10
7.3.300.0000.00716.14
7.3.290.0040.01316.09
7.3.280.0060.00916.07
7.3.270.0090.00917.40
7.3.260.0080.01216.37
7.3.250.0100.00816.37
7.3.240.0060.01316.25
7.3.230.0070.01016.27
7.3.210.0070.01016.11
7.3.200.0200.00016.21
7.3.190.0070.00716.49
7.3.180.0060.00916.35
7.3.170.0100.01316.42
7.3.160.0070.01516.14
7.2.330.0100.01016.71
7.2.320.0120.01216.40
7.2.310.0140.00316.20
7.2.300.0070.01116.59
7.2.290.0090.00916.20
7.2.80.0090.00316.66
7.2.60.0030.01316.34
7.2.00.0030.01319.91
7.1.200.0030.01015.61
7.1.120.0060.00918.88
7.1.110.0060.00818.08
7.1.100.0000.01518.11
7.1.90.0090.00618.17
7.1.80.0120.00618.01
7.1.70.0030.01016.79
7.1.60.0140.01734.84
7.1.50.0110.01834.63
7.1.40.0160.01334.23
7.1.30.0210.01034.31
7.1.20.0130.01334.52
7.1.10.0110.00316.48
7.1.00.0050.01016.67

preferences:
36.36 ms | 403 KiB | 5 Q