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); print_r($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.60.0140.00718.18
8.3.50.0090.00821.09
8.3.40.0030.01718.54
8.3.30.0070.00720.21
8.3.20.0070.00720.29
8.3.10.0080.00020.92
8.3.00.0040.00422.39
8.2.180.0140.00716.75
8.2.170.0110.01122.96
8.2.160.0070.00722.13
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00420.69
8.2.110.0090.00019.32
8.2.100.0040.00817.63
8.2.90.0080.00018.97
8.2.80.0030.00617.97
8.2.70.0000.00917.50
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0000.00918.09
8.2.30.0080.00319.36
8.2.20.0000.00717.59
8.2.10.0030.00517.56
8.2.00.0050.00317.68
8.1.280.0100.01025.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00322.34
8.1.230.0070.00720.97
8.1.220.0080.00018.77
8.1.210.0050.00320.94
8.1.200.0040.00417.22
8.1.190.0000.00717.53
8.1.180.0050.00318.10
8.1.170.0060.00318.59
8.1.160.0030.00518.79
8.1.150.0040.00418.49
8.1.140.0000.00717.38
8.1.130.0000.00717.87
8.1.120.0040.00417.42
8.1.110.0040.00417.35
8.1.100.0070.00017.27
8.1.90.0000.00717.39
8.1.80.0080.00017.39
8.1.70.0000.00717.27
8.1.60.0040.00417.52
8.1.50.0040.00417.34
8.1.40.0040.00417.35
8.1.30.0000.00717.57
8.1.20.0000.00917.56
8.1.10.0030.00617.34
8.1.00.0040.00417.37
8.0.300.0030.00619.94
8.0.290.0000.00717.04
8.0.280.0030.00318.30
8.0.270.0030.00317.23
8.0.260.0070.00016.75
8.0.250.0040.00416.82
8.0.240.0000.00716.89
8.0.230.0070.00016.81
8.0.220.0040.00416.71
8.0.210.0030.00316.87
8.0.200.0030.00316.95
8.0.190.0040.00416.87
8.0.180.0040.00416.83
8.0.170.0040.00416.70
8.0.160.0000.00716.79
8.0.150.0040.00416.77
8.0.140.0040.00416.80
8.0.130.0000.00513.23
8.0.120.0040.00416.71
8.0.110.0030.00516.86
8.0.100.0050.00316.85
8.0.90.0000.00716.68
8.0.80.0110.00716.83
8.0.70.0040.00416.77
8.0.60.0000.00716.67
8.0.50.0000.00716.78
8.0.30.0110.00816.85
8.0.20.0100.00717.40
8.0.10.0070.00016.83
8.0.00.0120.00816.54
7.4.330.0000.00516.84
7.4.320.0000.00716.46
7.4.300.0030.00316.46
7.4.290.0030.00316.58
7.4.280.0000.00716.52
7.4.270.0000.00716.49
7.4.260.0060.00013.20
7.4.250.0000.00716.52
7.4.240.0030.00416.52
7.4.230.0000.00716.34
7.4.220.0060.01216.56
7.4.210.0060.00816.51
7.4.200.0000.00716.53
7.4.190.0000.00716.38
7.4.160.0100.00616.47
7.4.150.0070.01717.40
7.4.140.0090.01117.86
7.4.130.0110.00616.50
7.4.120.0100.00716.34
7.4.110.0120.00616.26
7.4.100.0150.00616.23
7.4.90.0110.00616.21
7.4.80.0080.00819.39
7.4.70.0030.01216.34
7.4.60.0090.00616.33
7.4.50.0000.01016.14
7.4.40.0050.00822.77
7.4.30.0080.00816.49
7.4.00.0110.00614.89
7.3.330.0000.00513.05
7.3.320.0000.00512.98
7.3.310.0000.00716.14
7.3.300.0030.00316.01
7.3.290.0120.00316.13
7.3.280.0060.01016.14
7.3.270.0170.00317.40
7.3.260.0130.00618.24
7.3.250.0100.00816.16
7.3.240.0100.00716.53
7.3.230.0080.00816.39
7.3.210.0170.00416.18
7.3.200.0090.00919.39
7.3.190.0060.00916.47
7.3.180.0130.00316.11
7.3.170.0100.00716.45
7.3.160.0060.01016.13
7.3.120.0070.01114.71
7.3.110.0100.00514.77
7.3.100.0120.00414.57
7.3.90.0020.01114.71
7.3.80.0070.00814.51
7.3.70.0030.01014.73
7.3.60.0070.00414.60
7.3.50.0030.00814.66
7.3.40.0080.00914.72
7.3.30.0080.00714.72
7.3.20.0040.00816.53
7.3.10.0050.00916.44
7.3.00.0080.00516.40
7.2.330.0100.00916.59
7.2.320.0090.01216.16
7.2.310.0090.01216.48
7.2.300.0070.01016.38
7.2.290.0110.00716.55
7.2.250.0070.01114.88
7.2.240.0090.01014.58
7.2.230.0080.00614.82
7.2.220.0050.01114.94
7.2.210.0070.00514.64
7.2.200.0070.00714.86
7.2.190.0070.00514.77
7.2.180.0070.00714.91
7.2.170.0020.01214.95
7.2.00.0000.01219.35
7.1.330.0040.01115.78
7.1.320.0050.00515.77
7.1.310.0040.00615.70
7.1.300.0030.00815.58
7.1.290.0040.00915.56
7.1.280.0060.00915.75
7.1.270.0040.00915.69
7.1.260.0010.01415.78
7.1.100.2110.00716.09
7.1.70.0050.00817.20
7.1.60.0070.01819.17
7.1.50.0030.01616.89
7.1.00.0000.03722.33
7.0.200.0030.00716.66
7.0.140.0030.07721.99
7.0.60.0030.06719.98
7.0.50.0100.07017.84
7.0.40.0130.09020.24
7.0.30.0330.07720.21
7.0.20.0470.07720.17
7.0.10.0030.04720.13
7.0.00.0030.04320.01
5.6.280.0100.06321.09
5.6.210.0100.04020.50
5.6.200.0030.05718.12
5.6.190.0070.08320.40
5.6.180.0400.06720.39
5.6.170.0330.06020.48
5.6.160.0100.08720.37
5.6.150.0070.04318.18
5.6.140.0070.06018.12
5.6.130.0030.04718.13
5.6.120.0070.05721.07
5.6.110.0070.08321.00
5.6.100.0130.05021.00
5.6.90.0130.06320.94
5.6.80.0030.08320.52
5.5.350.0030.06320.34
5.5.340.0070.05017.98
5.5.330.0030.08320.21
5.5.320.0100.05720.31
5.5.310.0200.06320.35
5.5.300.0170.06717.98
5.5.290.0100.08717.98
5.5.280.0100.03720.73
5.5.270.0130.07720.92
5.5.260.0070.08320.87
5.5.250.0100.06720.57
5.5.240.0200.03720.18
5.4.450.1670.03719.48
5.4.440.1900.04719.10
5.4.430.1730.04719.38
5.4.420.1870.04319.41
5.4.410.0930.03319.43
5.4.400.0100.06319.21
5.4.390.0030.04719.13
5.4.380.1570.03019.13
5.4.370.1870.03719.13
5.4.360.1670.03318.78
5.4.350.1770.05019.09
5.4.340.1600.04319.21
5.4.320.1900.03019.25
5.4.310.1900.04719.08
5.4.300.1470.03318.78
5.4.290.1600.03719.09
5.4.280.1830.05319.21
5.4.270.0030.07319.12
5.4.260.0070.03319.08
5.4.250.0070.06718.80
5.4.240.1600.03719.07
5.4.230.0300.04019.05
5.4.220.0200.05319.07
5.4.210.0200.04718.93
5.4.200.0130.08019.11
5.4.190.0230.03719.23
5.4.180.0070.03319.07
5.4.170.0100.04019.23
5.4.160.0070.04019.20
5.4.150.0100.03719.22
5.4.140.0100.06716.27
5.4.130.0030.07716.18
5.4.120.0030.04316.27
5.4.110.0100.04316.39
5.4.100.0030.04016.34
5.4.90.0070.06316.39
5.4.80.0370.05316.42
5.4.70.1570.04016.44
5.4.60.1600.03316.43
5.4.50.0000.04716.36
5.4.40.0070.03316.27
5.4.30.0200.04016.36
5.4.20.1670.04316.38
5.4.10.0070.06716.36
5.4.00.0030.04315.70
5.3.290.0800.05714.50
5.3.280.0070.05014.42
5.3.270.0030.04314.46
5.3.260.0100.03714.51
5.3.250.0130.03014.54
5.3.240.0030.03714.50
5.3.230.0030.04014.58
5.3.220.1600.03314.51
5.3.210.0100.06314.47
5.3.200.0030.04714.43
5.3.190.0300.06014.43
5.3.180.1900.03714.58
5.3.170.0070.03714.40
5.3.160.0000.04314.57
5.3.150.1500.03314.43
5.3.140.0030.07314.40
5.3.130.0070.05714.41
5.3.120.0470.05014.64
5.3.110.0000.07714.38
5.3.100.0000.04713.98
5.3.90.1170.04013.97
5.3.80.0100.04013.87
5.3.70.0100.07014.04
5.3.60.0300.05313.95
5.3.50.0230.04313.90
5.3.40.0100.04714.00
5.3.30.0130.04713.86
5.3.20.0130.04013.55
5.3.10.0230.03313.70
5.3.00.0300.04313.61
5.2.170.0030.04711.01
5.2.160.0170.03011.23
5.2.150.0000.03311.19
5.2.140.0100.03311.05
5.2.130.0030.03311.15
5.2.120.0000.03310.96
5.2.110.0070.03010.96
5.2.100.0830.04311.12
5.2.90.1370.02710.96
5.2.80.1400.03010.94
5.2.70.1570.03010.96
5.2.60.0030.03010.98
5.2.50.0030.04311.02
5.2.40.0000.03011.15
5.2.30.0000.03010.98
5.2.20.0170.04710.82
5.2.10.0000.04010.78
5.2.00.0000.03310.82
5.1.60.1030.02310.00
5.1.50.0030.03010.13
5.1.40.0100.0479.83
5.1.30.0070.04310.23
5.1.20.0000.04710.41
5.1.10.0030.02710.16
5.1.00.0070.0279.95
5.0.50.0100.0238.43
5.0.40.0570.0278.29
5.0.30.0000.0338.34
5.0.20.0000.0238.36
5.0.10.0000.0438.04
5.0.00.0000.0338.14
4.4.90.0000.0377.71
4.4.80.0070.0307.71
4.4.70.0300.0277.71
4.4.60.0570.0207.71
4.4.50.0470.0207.71
4.4.40.0570.0207.71
4.4.30.0530.0137.71
4.4.20.0670.0277.71
4.4.10.0030.0337.71
4.4.00.0000.0277.71
4.3.110.0000.0337.71
4.3.100.0000.0207.71
4.3.90.0030.0137.71
4.3.80.0000.0537.71
4.3.70.0000.0137.71
4.3.60.0170.0237.71
4.3.50.0600.0177.71
4.3.40.0630.0277.71
4.3.30.0300.0137.71
4.3.20.0300.0137.71
4.3.10.0300.0137.71
4.3.00.0270.0207.71

preferences:
36.5 ms | 401 KiB | 5 Q