3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{"sections":[{"author_id": 276523011}]}'; $json = json_decode($str); print_r($json); echo $json["sections"][0]->author_id;

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.60.0110.00816.38
8.3.50.0100.00721.92
8.3.40.0110.00318.98
8.3.30.0070.00719.18
8.3.20.0070.00020.24
8.3.10.0070.00023.48
8.3.00.0100.00017.38
8.2.180.0130.01016.63
8.2.170.0180.00422.96
8.2.160.0030.01020.35
8.2.150.0060.00324.18
8.2.140.0110.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00022.24
8.2.110.0060.00322.12
8.2.100.0080.00417.84
8.2.90.0030.00519.05
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0080.00017.93
8.2.50.0040.00918.07
8.2.40.0080.00019.73
8.2.30.0000.00817.96
8.2.20.0000.00817.73
8.2.10.0040.00418.08
8.2.00.0040.00417.67
8.1.280.0150.00425.92
8.1.270.0080.00022.14
8.1.260.0040.00426.35
8.1.250.0090.00028.09
8.1.240.0070.00323.96
8.1.230.0030.01019.15
8.1.220.0030.00517.74
8.1.210.0030.00618.77
8.1.200.0030.00717.25
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0050.00318.52
8.1.160.0040.00421.95
8.1.150.0000.00918.57
8.1.140.0070.00017.38
8.1.130.0030.00317.67
8.1.120.0040.00417.28
8.1.110.0040.00417.39
8.1.100.0000.00717.39
8.1.90.0040.00417.27
8.1.80.0070.00017.46
8.1.70.0000.00717.33
8.1.60.0030.00717.39
8.1.50.0050.00317.50
8.1.40.0070.00017.42
8.1.30.0050.00317.63
8.1.20.0040.00417.60
8.1.10.0000.00717.46
8.1.00.0030.00717.45
8.0.300.0000.00820.69
8.0.290.0040.00416.88
8.0.280.0070.00018.29
8.0.270.0030.00317.15
8.0.260.0060.00017.19
8.0.250.0030.00316.98
8.0.240.0070.00016.94
8.0.230.0000.00716.89
8.0.220.0070.00016.80
8.0.210.0000.00716.88
8.0.200.0060.00016.95
8.0.190.0000.00716.83
8.0.180.0030.00616.82
8.0.170.0000.00816.92
8.0.160.0000.00716.93
8.0.150.0020.00516.86
8.0.140.0000.00816.80
8.0.130.0030.00313.35
8.0.120.0040.00416.86
8.0.110.0000.00716.93
8.0.100.0000.00716.84
8.0.90.0000.00816.91
8.0.80.0040.01216.88
8.0.70.0040.00416.88
8.0.60.0000.00716.93
8.0.50.0040.00416.86
8.0.30.0090.00916.95
8.0.20.0080.01217.40
8.0.10.0030.00417.00
8.0.00.0120.00916.89
7.4.330.0050.00015.06
7.4.320.0030.00316.49
7.4.300.0030.00316.60
7.4.290.0030.00316.64
7.4.280.0030.00716.51
7.4.270.0000.00916.62
7.4.260.0000.00716.57
7.4.250.0020.00516.40
7.4.240.0000.00716.36
7.4.230.0000.00716.52
7.4.220.0120.00416.50
7.4.210.0110.00516.56
7.4.200.0040.00416.70
7.4.190.0030.00316.73
7.4.160.0090.00916.43
7.4.150.0140.00417.40
7.4.140.0110.00717.86
7.4.130.0090.00816.52
7.4.120.0110.01216.55
7.4.110.0090.01116.46
7.4.100.0060.01116.43
7.4.90.0100.01016.43
7.4.80.0060.01319.39
7.4.70.0040.01216.65
7.4.60.0150.00316.60
7.4.50.0030.00516.52
7.4.40.0060.01116.60
7.4.30.0070.01016.52
7.4.00.0050.01014.89
7.3.330.0000.00513.34
7.3.320.0050.00013.24
7.3.310.0050.00216.32
7.3.300.0000.00616.34
7.3.290.0060.00916.23
7.3.280.0090.00916.26
7.3.270.0190.00317.40
7.3.260.0030.01316.32
7.3.250.0070.01116.25
7.3.240.0100.00516.20
7.3.230.0070.01016.39
7.3.210.0150.00616.36
7.3.200.0060.01519.39
7.3.190.0160.00316.48
7.3.180.0160.00016.21
7.3.170.0100.00616.39
7.3.160.0030.01616.38
7.3.120.0050.01314.94
7.3.110.0100.01014.68
7.3.100.0070.00714.53
7.3.90.0040.01414.51
7.3.80.0070.00715.08
7.3.70.0060.01014.60
7.3.60.0070.00714.90
7.3.50.0030.01414.75
7.3.40.0000.01414.79
7.3.30.0090.00014.81
7.3.20.0120.00316.62
7.3.10.0060.00916.50
7.3.00.0070.00716.58
7.2.330.0190.00516.46
7.2.320.0180.00316.55
7.2.310.0030.01316.46
7.2.300.0100.00716.23
7.2.290.0120.00916.30
7.2.250.0100.01014.95
7.2.240.0040.01414.80
7.2.230.0060.00915.04
7.2.220.0130.00614.69
7.2.210.0070.01015.03
7.2.200.0070.01114.94
7.2.190.0070.00714.78
7.2.180.0090.00915.05
7.2.170.0100.00715.09
7.2.130.0070.00716.91
7.2.120.0080.00316.86
7.2.110.0070.00717.00
7.2.100.0030.00616.99
7.2.90.0000.01316.79
7.2.80.0130.00316.95
7.2.70.0000.01416.95
7.2.60.0060.00917.00
7.2.50.0000.01516.98
7.2.40.0140.00017.07
7.2.30.0050.00916.84
7.2.20.0090.00616.79
7.2.10.0000.01116.64
7.2.00.0020.01318.04
7.1.330.0040.00715.98
7.1.320.0000.01015.77
7.1.310.0060.00915.69
7.1.300.0030.01015.91
7.1.290.0060.01215.59
7.1.280.0000.00815.81
7.1.270.0040.01115.63
7.1.260.0030.00615.86
7.1.250.0060.00315.79
7.1.200.0090.00315.68
7.1.100.0000.01018.11
7.1.70.0000.00817.09
7.1.60.0100.01419.46
7.1.50.0030.01916.97
7.1.00.0000.08022.45
7.0.200.0000.00716.79
7.0.140.0030.07722.19
7.0.60.0070.07319.98
7.0.50.0000.09017.86
7.0.40.0100.08020.32
7.0.30.0330.05020.26
7.0.20.0270.05020.15
7.0.10.0000.06020.25
7.0.00.0070.06720.07
5.6.280.0000.07721.14
5.6.210.0070.06020.54
5.6.200.0030.04318.12
5.6.190.0030.05720.45
5.6.180.0270.04720.60
5.6.170.0330.08020.54
5.6.160.0070.07720.54
5.6.150.0000.04018.16
5.6.140.0070.08318.28
5.6.130.0100.04718.15
5.6.120.0030.06721.01
5.6.110.0130.07721.04
5.6.100.0000.04320.97
5.6.90.0100.08021.09
5.6.80.0030.04720.46
5.5.350.4230.04020.43
5.5.340.0100.07318.03
5.5.330.0030.06720.26
5.5.320.0300.04320.21
5.5.310.0170.04320.41
5.5.300.0070.08317.97
5.5.290.0000.06317.98
5.5.280.0170.07720.76
5.5.270.0130.08320.75
5.5.260.0130.07720.75
5.5.250.0070.03720.68
5.5.240.0030.08020.34
5.4.450.0170.06719.47
5.4.440.0070.06319.35
5.4.430.0100.07719.63
5.4.420.0200.04719.58
5.4.410.0070.06019.04
5.4.400.0100.06719.29
5.4.390.0070.06019.16
5.4.380.0130.07018.78
5.4.370.0200.04718.85
5.4.360.0230.05018.76
5.4.350.0200.05018.55
5.4.340.0000.06318.80
5.4.320.0040.04012.49
5.4.310.0030.04112.48
5.4.300.0080.03512.49
5.4.290.0080.05312.47
5.4.280.0060.03712.37
5.4.270.0080.03912.37
5.4.260.0070.04312.37
5.4.250.0090.05212.37
5.4.240.0070.03912.37
5.4.230.0120.03312.36
5.4.220.0050.04412.36
5.4.210.0050.03712.36
5.4.200.0090.03812.36
5.4.190.0080.03612.36
5.4.180.0080.03612.36
5.4.170.0100.05812.37
5.4.160.0090.03512.36
5.4.150.0190.03712.36
5.4.140.0120.04912.04
5.4.130.0100.04412.03
5.4.120.0150.04311.99
5.4.110.0140.03911.99
5.4.100.0120.03911.99
5.4.90.0080.03911.99
5.4.80.0060.04111.99
5.4.70.0050.04111.98
5.4.60.0070.03611.98
5.4.50.0140.03111.98
5.4.40.0070.03711.97
5.4.30.0090.04211.97
5.4.20.0110.04511.97
5.4.10.0130.03411.97
5.4.00.0070.04611.46
5.3.290.0040.04012.80
5.3.280.0020.04812.71
5.3.270.0090.04012.73
5.3.260.0040.04312.72
5.3.250.0080.03812.72
5.3.240.0090.03912.72
5.3.230.0060.04612.71
5.3.220.0090.04112.68
5.3.210.0100.03812.68
5.3.200.0080.04112.68
5.3.190.0090.04412.68
5.3.180.0070.04112.67
5.3.170.0070.03912.67
5.3.160.0070.04612.68
5.3.150.0080.04412.68
5.3.140.0100.03912.66
5.3.130.0080.04812.66
5.3.120.0070.04712.66
5.3.110.0050.05112.66
5.3.100.0100.04512.12
5.3.90.0050.03912.09
5.3.80.0080.04712.08
5.3.70.0110.04012.09
5.3.60.0090.03512.07
5.3.50.0120.04512.02
5.3.40.0090.04812.02
5.3.30.0110.04011.98
5.3.20.0110.03411.76
5.3.10.0120.04011.72
5.3.00.0080.04611.71
5.2.170.0080.0359.21
5.2.160.0070.0389.21
5.2.150.0070.0469.21
5.2.140.0060.0429.20
5.2.130.0080.0429.16
5.2.120.0070.0389.16
5.2.110.0070.0449.17
5.2.100.0110.0439.17
5.2.90.0060.0409.17
5.2.80.0060.0459.16
5.2.70.0110.0429.16
5.2.60.0080.0439.12
5.2.50.0080.0369.09
5.2.40.0050.0349.06
5.2.30.0100.0419.04
5.2.20.0050.0419.03
5.2.10.0060.0398.94
5.2.00.0050.0448.79
5.1.60.0060.0318.07
5.1.50.0060.0318.06
5.1.40.0040.0298.04
5.1.30.0060.0368.39
5.1.20.0080.0348.41
5.1.10.0060.0298.14
5.1.00.0060.0278.14
5.0.50.0040.0236.61
5.0.40.0040.0276.48
5.0.30.0030.0416.29
5.0.20.0010.0296.25
5.0.10.0080.0246.24
5.0.00.0090.0356.23
4.4.90.0020.0164.78
4.4.80.0040.0164.75
4.4.70.0020.0194.76
4.4.60.0050.0174.76
4.4.50.0050.0194.77
4.4.40.0030.0334.71
4.4.30.0050.0154.76
4.4.20.0070.0154.84
4.4.10.0050.0214.85
4.4.00.0050.0324.76
4.3.110.0040.0224.67
4.3.100.0060.0164.66
4.3.90.0040.0174.63
4.3.80.0050.0244.59
4.3.70.0030.0164.63
4.3.60.0070.0154.63
4.3.50.0040.0204.63
4.3.40.0030.0334.54
4.3.30.0020.0193.27
4.3.20.0010.0193.25
4.3.10.0020.0233.21
4.3.00.0030.0237.23

preferences:
43.96 ms | 401 KiB | 5 Q