3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '{ "refresh_token": "xxxx", "access_token": "xxxx", "expires_in": 21600 }'; $values = json_decode($test, true); print_r($values);

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.80.0070.00318.43
8.3.70.0070.01118.31
8.3.60.0070.01018.43
8.3.50.0050.01217.96
8.3.40.0180.00418.38
8.3.30.0100.01018.42
8.3.20.0040.00418.73
8.3.10.0040.00421.77
8.3.00.0050.00323.57
8.2.200.0030.00718.16
8.2.190.0070.01416.75
8.2.180.0000.01618.31
8.2.170.0090.00622.96
8.2.160.0100.00319.24
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00019.31
8.2.120.0040.00426.35
8.2.110.0100.00021.00
8.2.100.0070.00417.78
8.2.90.0080.00019.08
8.2.80.0040.00417.97
8.2.70.0040.00417.80
8.2.60.0020.00518.03
8.2.50.0030.00518.10
8.2.40.0030.00719.26
8.2.30.0040.00419.17
8.2.20.0000.00717.90
8.2.10.0050.00319.91
8.2.00.0000.00719.23
8.1.290.0000.01130.84
8.1.280.0100.00725.92
8.1.270.0060.00322.03
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0100.00022.48
8.1.230.0000.01122.70
8.1.220.0030.00717.74
8.1.210.0000.00818.77
8.1.200.0070.00317.25
8.1.190.0060.00317.23
8.1.180.0030.00618.10
8.1.170.0000.00818.65
8.1.160.0000.00819.00
8.1.150.0000.00718.81
8.1.140.0040.00417.57
8.1.130.0070.00018.91
8.1.120.0000.00717.39
8.1.110.0000.00917.45
8.1.100.0030.00517.31
8.1.90.0000.00717.40
8.1.80.0060.00317.36
8.1.70.0080.00017.27
8.1.60.0000.00817.49
8.1.50.0040.00417.43
8.1.40.0030.00517.41
8.1.30.0000.00917.59
8.1.20.0050.00217.55
8.1.10.0030.00517.34
8.1.00.0030.00617.38
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0050.00318.41
8.0.270.0040.00417.14
8.0.260.0060.00317.11
8.0.250.0060.00016.78
8.0.240.0000.00716.93
8.0.230.0080.00016.89
8.0.220.0080.00016.80
8.0.210.0030.00316.81
8.0.200.0000.00616.77
8.0.190.0080.00016.86
8.0.180.0000.00716.73
8.0.170.0060.00316.81
8.0.160.0000.00716.89
8.0.150.0110.00016.70
8.0.140.0070.00016.74
8.0.130.0000.00513.31
8.0.120.0040.00416.74
8.0.110.0000.00716.80
8.0.100.0000.00716.80
8.0.90.0000.00716.85
8.0.80.0050.01116.83
8.0.70.0040.00416.93
8.0.60.0030.00516.76
8.0.50.0070.00016.85
8.0.30.0080.00916.94
8.0.20.0130.00817.40
8.0.10.0080.00016.84
8.0.00.0080.00916.83
7.4.330.0030.00315.55
7.4.320.0000.00616.37
7.4.300.0060.00016.53
7.4.290.0000.00716.34
7.4.280.0040.00416.27
7.4.270.0060.00316.58
7.4.260.0030.00316.50
7.4.250.0040.00416.43
7.4.240.0050.00316.51
7.4.230.0030.00316.46
7.4.220.0000.00816.37
7.4.210.0090.00816.52
7.4.200.0000.00716.64
7.4.160.0100.00816.32
7.4.140.0110.00817.86
7.4.130.0130.00716.45
7.4.120.0070.01116.43
7.4.110.0090.00616.25
7.4.100.0030.01316.42
7.4.90.0130.00716.44
7.4.80.0030.01619.39
7.4.70.0080.00816.25
7.4.60.0070.01116.26
7.4.50.0040.00816.37
7.4.40.0100.00716.41
7.4.00.0130.00314.88
7.3.330.0050.00012.96
7.3.320.0050.00012.86
7.3.310.0070.00016.22
7.3.300.0030.00316.03
7.3.290.0030.00316.12
7.3.280.0020.01216.13
7.3.260.0100.00816.22
7.3.240.0130.00616.35
7.3.230.0110.00616.09
7.3.210.0030.01316.30
7.3.200.0120.00616.30
7.3.190.0030.01416.39
7.3.180.0090.00616.26
7.3.170.0040.01116.14
7.3.160.0100.00716.18
7.3.120.0070.01214.76
7.3.110.0030.01314.69
7.3.100.0080.00814.73
7.3.90.0080.00614.88
7.3.80.0050.00714.54
7.3.70.0080.00714.75
7.3.60.0010.01214.59
7.3.50.0040.00714.54
7.3.40.0030.00814.68
7.3.30.0080.00214.70
7.3.20.0120.00316.55
7.3.10.0070.00616.40
7.3.00.0050.01016.52
7.2.330.0110.00716.32
7.2.320.0140.00616.34
7.2.310.0100.00716.47
7.2.300.0110.00716.48
7.2.290.0060.01216.31
7.2.250.0080.01114.79
7.2.240.0110.00914.97
7.2.230.0050.01214.84
7.2.220.0090.00714.83
7.2.210.0080.00714.93
7.2.200.0060.00714.81
7.2.190.0090.00414.88
7.2.180.0050.00614.75
7.2.170.0030.01015.01
7.2.160.0080.00414.90
7.2.150.0030.01216.73
7.2.140.0030.00616.95
7.2.130.0070.01016.50
7.2.120.0050.00516.76
7.2.110.0070.00416.84
7.2.100.0100.00716.71
7.2.90.0080.00816.79
7.2.80.0030.01016.58
7.2.70.0570.00815.74
7.2.60.0440.01015.82
7.2.50.0540.01015.90
7.2.40.0440.00915.76
7.2.30.0480.00615.71
7.2.20.0510.00215.73
7.2.10.0480.01015.44
7.2.00.0850.00615.79
7.1.330.0040.01015.71
7.1.320.0060.00715.71
7.1.310.0060.01015.79
7.1.300.0090.00615.74
7.1.290.0030.01015.71
7.1.280.0050.00815.57
7.1.270.0050.00715.57
7.1.260.0050.00815.84
7.1.250.0070.00615.82
7.1.200.0070.00715.45
7.1.170.1500.00613.63
7.1.160.0900.00313.42
7.1.150.0910.00313.36
7.1.140.0940.00313.58
7.1.130.1390.01313.24
7.1.120.1460.01313.47
7.1.110.1500.01013.58
7.1.100.1900.00613.41
7.1.90.2610.00913.63
7.1.80.2040.00713.83
7.1.70.1480.00313.50
7.1.60.1800.01031.64
7.1.50.2010.01331.69
7.1.40.2150.01631.59
7.1.30.1930.01031.46
7.1.20.1800.00731.41
7.1.10.1850.01013.70
7.1.00.2070.00313.64

preferences:
64.98 ms | 401 KiB | 5 Q