3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "player_id" : 125, "player_name" : "J\u00c3\u0083\u00c2\u00balio C\u00c3...", "player_country" : "35", "player_country_name" : "Brazil", "player_team" : "Brasil", "player_role" : "Goalkeeper", "player_price" : 0, "substitute" : 0, "captain" : 1, "vice_captain" : 0 }'; $arr = json_decode($json); $pp = json_encode($arr); print_r($pp);

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.40.0070.01418.59
8.3.30.0070.00720.29
8.3.20.0090.00920.09
8.3.10.0100.00722.10
8.3.00.0090.00922.52
8.2.170.0110.00422.96
8.2.160.0070.00722.08
8.2.150.0030.01224.18
8.2.140.0000.00924.66
8.2.130.0030.00626.16
8.2.120.0080.00020.73
8.2.110.0070.00320.35
8.2.100.0090.00617.59
8.2.90.0000.00917.47
8.2.80.0050.00318.61
8.2.70.0040.00417.91
8.2.60.0030.00518.03
8.2.50.0000.00818.10
8.2.40.0000.00719.21
8.2.30.0040.00419.18
8.2.20.0040.00417.50
8.2.10.0040.00417.66
8.2.00.0020.00517.67
8.1.270.0110.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00918.92
8.1.230.0080.00317.70
8.1.220.0000.00717.74
8.1.210.0030.00518.77
8.1.200.0030.00717.22
8.1.190.0000.00818.91
8.1.180.0030.00518.10
8.1.170.0030.00618.52
8.1.160.0040.00418.83
8.1.150.0000.00718.53
8.1.140.0070.00017.34
8.1.130.0000.00617.70
8.1.120.0050.00317.43
8.1.110.0000.00717.36
8.1.100.0000.00717.30
8.1.90.0000.00817.29
8.1.80.0000.00717.45
8.1.70.0030.00517.31
8.1.60.0060.00317.42
8.1.50.0040.00417.52
8.1.40.0000.00817.36
8.1.30.0040.00417.52
8.1.20.0040.00417.61
8.1.10.0000.00717.33
8.1.00.0040.00417.24
8.0.300.0000.00718.77
8.0.290.0080.00016.63
8.0.280.0070.00018.38
8.0.270.0080.00017.19
8.0.260.0060.00016.74
8.0.250.0000.00716.79
8.0.240.0080.00316.79
8.0.230.0070.00016.78
8.0.220.0070.00016.73
8.0.210.0030.00316.88
8.0.200.0070.00016.92
8.0.190.0080.00016.88
8.0.180.0030.00316.74
8.0.170.0040.00416.77
8.0.160.0030.00316.70
8.0.150.0030.00316.76
8.0.140.0070.00016.68
8.0.130.0030.00313.29
8.0.120.0060.00316.81
8.0.110.0000.00716.86
8.0.100.0040.00416.69
8.0.90.0040.00416.77
8.0.80.0000.01416.81
8.0.70.0040.00416.77
8.0.60.0040.00416.68
8.0.50.0000.00816.64
8.0.30.0090.01016.96
8.0.20.0150.00617.40
8.0.10.0000.00717.00
8.0.00.0090.00916.62
7.4.330.0000.00616.80
7.4.320.0030.00316.52
7.4.300.0000.00616.45
7.4.290.0070.00016.49
7.4.280.0030.00316.38
7.4.270.0000.00716.57
7.4.260.0050.00013.18
7.4.250.0000.00816.48
7.4.240.0060.00216.42
7.4.230.0030.00316.56
7.4.220.0170.00016.53
7.4.210.0070.01016.45
7.4.200.0030.00316.45
7.4.190.0000.00616.59
7.4.160.0120.00816.49
7.4.150.0160.00017.40
7.4.140.0100.00717.86
7.4.130.0080.01016.45
7.4.120.0050.01216.40
7.4.110.0060.01016.49
7.4.100.0140.00716.41
7.4.90.0060.00916.35
7.4.80.0130.01019.39
7.4.70.0160.00316.39
7.4.60.0050.01216.52
7.4.50.0050.00316.54
7.4.40.0070.00722.77
7.4.30.0160.00616.53
7.4.00.0030.01414.82
7.3.330.0020.00213.07
7.3.320.0030.00313.02
7.3.310.0030.00316.19
7.3.300.0040.00416.08
7.3.290.0110.00716.16
7.3.280.0050.01016.15
7.3.270.0120.00617.40
7.3.260.0140.00318.24
7.3.250.0130.00416.17
7.3.240.0080.00816.44
7.3.230.0160.00616.39
7.3.210.0100.00716.30
7.3.200.0100.00719.39
7.3.190.0070.01016.11
7.3.180.0070.00716.19
7.3.170.0000.01616.50
7.3.160.0040.01116.17
7.3.120.0030.01014.95
7.2.330.0070.01016.66
7.2.320.0030.01416.48
7.2.310.0090.00916.30
7.2.300.0110.00616.16
7.2.290.0100.00716.52
7.2.60.0090.00616.83
7.2.00.0070.00719.20
7.1.200.0070.00315.69
7.1.100.0000.01317.98
7.1.70.0000.00717.04
7.1.60.0100.01619.17
7.1.50.0150.00416.86
7.1.00.0030.03322.35
7.0.200.0110.00416.73
7.0.140.0030.06722.09
7.0.90.0130.08021.81
7.0.80.0030.08321.80
7.0.70.0070.07321.70
7.0.60.0030.05021.75
7.0.50.0100.07322.01
7.0.40.0070.07720.17
7.0.30.0070.06319.99
7.0.20.0100.08019.95
7.0.10.0130.04020.04
7.0.00.0130.07320.14
5.6.280.0070.07020.88
5.6.240.0000.08720.69
5.6.230.0130.08020.68
5.6.220.0130.07020.61
5.6.210.0070.07320.57
5.6.200.0130.08021.00
5.6.190.0070.05321.13
5.6.180.0070.07721.01
5.6.170.0030.08720.96
5.6.160.0170.07021.00
5.6.150.0030.04721.01
5.6.140.0100.07721.00
5.6.130.0100.06721.16
5.6.120.0070.06321.00
5.6.110.0130.07321.00
5.6.100.0130.07320.98
5.6.90.0030.04321.02
5.6.80.0070.04320.48
5.6.70.0030.04720.42
5.6.60.0130.07020.38
5.6.50.0030.05720.40
5.6.40.0100.07720.30
5.6.30.0070.06320.46
5.6.20.0000.07720.42
5.6.10.0130.07320.39
5.6.00.0100.06720.36
5.5.380.0000.07720.42
5.5.370.0030.08720.44
5.5.360.0170.07720.44
5.5.350.0100.06320.37
5.5.340.0100.08320.76
5.5.330.0000.06720.87
5.5.320.0030.09020.93
5.5.310.0030.05020.88
5.5.300.0030.08720.85
5.5.290.0070.08020.82
5.5.280.0070.08320.89
5.5.270.0030.08020.74
5.5.260.0100.07720.91
5.5.250.0130.08020.69
5.5.240.0030.08020.24
5.5.230.0100.05320.09
5.5.220.0030.08020.23
5.5.210.0100.07720.28
5.5.200.0100.07020.26
5.5.190.0030.08720.22
5.5.180.0070.07020.21
5.5.160.0100.07720.10
5.5.150.0030.08720.14
5.5.140.0070.07320.11
5.5.130.0100.07320.07
5.5.120.0100.08020.17
5.5.110.0070.08020.25
5.5.100.0070.03719.97
5.5.90.0070.03720.15
5.5.80.0030.08320.09
5.5.70.0030.07320.11
5.5.60.0070.07320.04
5.5.50.0070.04320.05
5.5.40.0130.05719.99
5.5.30.0030.07320.02
5.5.20.0100.07320.06
5.5.10.0130.07320.07
5.5.00.0030.07020.12
5.4.450.0130.07019.27
5.4.440.0070.05019.45
5.4.430.0030.05319.39
5.4.420.0030.05019.29
5.4.410.0030.08019.00
5.4.400.0000.06318.96
5.4.390.0030.08019.06
5.4.380.0070.07018.78
5.4.370.0030.05018.96
5.4.360.0130.03019.05
5.4.350.0130.06718.81
5.4.340.0100.05318.82
5.4.320.0000.05019.06
5.4.310.0000.04719.14
5.4.300.0100.04319.21
5.4.290.0000.04018.94
5.4.280.0070.07319.05
5.4.270.0030.06319.23
5.4.260.0100.04019.14
5.4.250.0070.04319.09
5.4.240.0130.06719.22
5.4.230.0070.07019.22
5.4.220.0130.07318.89
5.4.210.0100.07719.02
5.4.200.0170.07018.95
5.4.190.0070.08019.11
5.4.180.0070.04319.06
5.4.170.0030.07719.22
5.4.160.0070.07718.94
5.4.150.0030.06318.88
5.4.140.0100.07016.34
5.4.130.0070.04316.32
5.4.120.0070.07316.28
5.4.110.0030.07316.38
5.4.100.0100.06716.21
5.4.90.0100.07316.25
5.4.80.0070.06716.41
5.4.70.0070.07316.19
5.4.60.0130.06316.30
5.4.50.0070.07016.35
5.4.40.0130.07016.47
5.4.30.0070.05716.30
5.4.20.0070.07016.18
5.4.10.0000.08316.35
5.4.00.0000.07715.76
5.3.290.0030.07314.63
5.3.280.0030.07714.56
5.3.270.0070.07714.60
5.3.260.0100.07014.52
5.3.250.0070.07314.59
5.3.240.0030.07714.45
5.3.230.0100.05714.44
5.3.220.0130.06314.39
5.3.210.0070.07014.43
5.3.200.0100.07314.43
5.3.190.0100.06714.53
5.3.180.0100.03714.56
5.3.170.0000.08714.43
5.3.160.0030.08014.47
5.3.150.0070.07014.42
5.3.140.0030.04314.42
5.3.130.0270.03714.53
5.3.120.0030.06714.49
5.3.110.0030.08014.41
5.3.100.0000.04714.04
5.3.90.0100.06013.87
5.3.80.0030.04014.00
5.3.70.0100.07013.98
5.3.60.0030.07013.99
5.3.50.0100.03713.86
5.3.40.0030.03713.89
5.3.30.0030.05313.77
5.3.20.0000.03713.68
5.3.10.0070.04713.60
5.3.00.0000.03713.57
5.2.170.0070.05310.97
5.2.160.0070.02711.13
5.2.150.0000.04011.18
5.2.140.0030.03010.97
5.2.130.0070.02311.08
5.2.120.0070.02711.07
5.2.110.0000.03011.02
5.2.100.0030.02711.06
5.2.90.0030.03011.17
5.2.80.0030.02710.94
5.2.70.0030.03311.16
5.2.60.0000.03010.84
5.2.50.0000.03010.97
5.2.40.0000.03010.99
5.2.30.0030.02710.92
5.2.20.0000.03310.95
5.2.10.0070.03010.76
5.2.00.0000.03010.73
5.1.60.0030.0239.99
5.1.50.0000.0479.98
5.1.40.0030.0239.97
5.1.30.0070.03310.35
5.1.20.0000.02710.37
5.1.10.0000.02310.11
5.1.00.0030.02010.11
5.0.50.0030.0178.55
5.0.40.0000.0238.28
5.0.30.0030.0478.25
5.0.20.0000.0208.28
5.0.10.0000.0208.19
5.0.00.0000.0277.99
4.4.90.0030.0137.21
4.4.80.0000.0137.21
4.4.70.0000.0137.21
4.4.60.0030.0377.21
4.4.50.0030.0177.21
4.4.40.0030.0277.21
4.4.30.0070.0177.21
4.4.20.0070.0107.21
4.4.10.0000.0137.21
4.4.00.0000.0237.21
4.3.110.0000.0137.21
4.3.100.0030.0107.21
4.3.90.0030.0137.21
4.3.80.0000.0277.21
4.3.70.0030.0207.21
4.3.60.0000.0177.21
4.3.50.0000.0137.21
4.3.40.0000.0237.21
4.3.30.0030.0137.21
4.3.20.0000.0207.21
4.3.10.0030.0137.21
4.3.00.0000.0177.21

preferences:
53.97 ms | 400 KiB | 5 Q