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(substr($str,strpos($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.3.70.0120.00318.18
8.3.60.0180.00418.43
8.3.50.0120.00518.15
8.3.40.0090.00618.71
8.3.30.0120.00318.72
8.3.20.0080.00021.96
8.3.10.0000.00823.48
8.3.00.0040.00421.73
8.2.190.0070.01116.58
8.2.180.0070.01416.75
8.2.170.0110.00422.96
8.2.160.0080.00822.26
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.64
8.2.110.0000.01219.11
8.2.100.0040.00717.72
8.2.90.0060.00318.03
8.2.80.0080.00018.22
8.2.70.0000.00817.50
8.2.60.0030.00617.68
8.2.50.0000.00718.10
8.2.40.0030.00620.61
8.2.30.0040.00419.28
8.2.20.0000.01017.93
8.2.10.0040.00418.06
8.2.00.0040.00418.02
8.1.280.0110.00325.92
8.1.270.0070.01121.91
8.1.260.0050.00328.09
8.1.250.0060.01228.09
8.1.240.0060.01023.83
8.1.230.0040.00720.79
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0000.00817.23
8.1.190.0000.00917.23
8.1.180.0060.00318.10
8.1.170.0000.00818.59
8.1.160.0040.00418.80
8.1.150.0040.00418.89
8.1.140.0000.00719.09
8.1.130.0030.00317.75
8.1.120.0040.00417.41
8.1.110.0130.00417.38
8.1.100.0060.00317.38
8.1.90.0040.00417.32
8.1.80.0040.00417.42
8.1.70.0030.00317.34
8.1.60.0040.00417.41
8.1.50.0000.00717.51
8.1.40.0060.00317.52
8.1.30.0030.00617.63
8.1.20.0040.00417.61
8.1.10.0000.00817.35
8.1.00.0000.00817.40
8.0.300.0070.00019.98
8.0.290.0030.00616.63
8.0.280.0060.00318.38
8.0.270.0030.00317.20
8.0.260.0090.00017.20
8.0.250.0070.00016.80
8.0.240.0040.00416.85
8.0.230.0050.00316.91
8.0.220.0020.00516.87
8.0.210.0030.00316.71
8.0.200.0040.00416.86
8.0.190.0030.00616.94
8.0.180.0040.00416.81
8.0.170.0060.00316.91
8.0.160.0000.00816.80
8.0.150.0070.00016.66
8.0.140.0030.00716.75
8.0.130.0030.00613.24
8.0.120.0040.00416.70
8.0.110.0000.00716.79
8.0.100.0050.00316.88
8.0.90.0080.00016.85
8.0.80.0070.00716.71
8.0.70.0030.00516.89
8.0.60.0000.00716.73
8.0.50.0070.00016.71
8.0.30.0080.01017.01
8.0.20.0080.01017.40
8.0.10.0050.00216.81
8.0.00.0090.00916.74
7.4.330.0000.00615.55
7.4.320.0030.00316.46
7.4.300.0060.00016.45
7.4.290.0030.00316.54
7.4.280.0090.00016.45
7.4.270.0030.00316.45
7.4.260.0040.00416.51
7.4.250.0050.00316.46
7.4.240.0000.00816.54
7.4.230.0000.00716.52
7.4.220.0040.00416.34
7.4.210.0000.01516.61
7.4.200.0070.00016.62
7.4.160.0060.01216.47
7.4.150.0180.00317.40
7.4.140.0120.01017.86
7.4.130.0070.01816.43
7.4.120.0080.01116.47
7.4.110.0070.01016.29
7.4.100.0120.00916.46
7.4.90.0170.00016.41
7.4.80.0160.01019.39
7.4.70.0130.01016.57
7.4.60.0100.00716.45
7.4.50.0090.00916.24
7.4.40.0100.00716.35
7.4.30.0060.01016.34
7.4.00.0070.00714.98
7.3.330.0030.00312.98
7.3.320.0070.00012.94
7.3.310.0030.00316.14
7.3.300.0000.00716.13
7.3.290.0100.01016.13
7.3.280.0070.01316.13
7.3.270.0060.01217.40
7.3.260.0100.00716.21
7.3.250.0110.00616.30
7.3.240.0120.00716.35
7.3.230.0060.01216.35
7.3.210.0130.00716.53
7.3.200.0080.00816.27
7.3.190.0070.00716.25
7.3.180.0090.00916.35
7.3.170.0030.01516.13
7.3.160.0150.00416.34
7.3.10.0030.01016.25
7.3.00.0040.01116.29
7.2.330.0130.00716.50
7.2.320.0060.01116.30
7.2.310.0090.01216.41
7.2.300.0070.01316.65
7.2.290.0150.00416.32
7.2.130.0110.00416.83
7.2.120.0080.00416.61
7.2.110.0030.00616.81
7.2.100.0000.00916.83
7.2.90.0040.00816.86
7.2.80.0070.00616.58
7.2.70.0000.01116.67
7.2.60.0030.01016.68
7.2.50.0040.01416.90
7.2.40.0130.00316.48
7.2.30.0040.00816.80
7.2.20.0000.01216.93
7.2.10.0050.01216.91
7.2.00.0070.01018.32
7.1.250.0060.00315.68
7.1.200.0080.00315.59
7.1.120.0090.00618.81
7.1.110.0090.00618.23
7.1.100.0120.00318.22
7.1.90.0050.01317.96
7.1.80.0090.00618.22
7.1.70.0000.01716.95
7.1.60.0240.00634.87
7.1.50.0220.01034.64
7.1.40.0220.02034.39
7.1.30.0290.01334.36
7.1.20.0150.01534.52
7.1.10.0030.01216.46
7.1.00.0060.01216.85

preferences:
68.93 ms | 401 KiB | 5 Q