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)
5.4.280.0070.04912.38
5.4.270.0100.05012.38
5.4.260.0080.05012.38
5.4.250.0060.04912.38
5.4.240.0080.04712.38
5.4.230.0070.04912.37
5.4.220.0090.04312.37
5.4.210.0080.04412.37
5.4.200.0130.04912.37
5.4.190.0090.05512.37
5.4.180.0130.07812.37
5.4.170.0120.05012.38
5.4.160.0130.04912.37
5.4.150.0100.06012.37
5.4.140.0120.05512.06
5.4.130.0160.06012.04
5.4.120.0090.05212.01
5.4.110.0120.04712.00
5.4.100.0120.04712.00
5.4.90.0080.05212.00
5.4.80.0100.05311.99
5.4.70.0140.05411.99
5.4.60.0130.04611.99
5.4.50.0100.05111.99
5.4.40.0090.04611.98
5.4.30.0090.04511.98
5.4.20.0050.04911.97
5.4.10.0070.04311.98
5.4.00.0090.04311.47
5.3.280.0110.04312.71
5.3.270.0120.04512.72
5.3.260.0090.04712.72
5.3.250.0080.04812.72
5.3.240.0100.05612.72
5.3.230.0100.04512.71
5.3.220.0100.05012.68
5.3.210.0100.05312.68
5.3.200.0070.05212.68
5.3.190.0110.05012.68
5.3.180.0100.04912.67
5.3.170.0080.05312.67
5.3.160.0120.04812.67
5.3.150.0100.05612.68
5.3.140.0100.05712.66
5.3.130.0090.04912.66
5.3.120.0090.04912.66
5.3.110.0110.04712.66
5.3.100.0090.04712.12
5.3.90.0090.05512.08
5.3.80.0070.06112.08
5.3.70.0080.05412.07
5.3.60.0090.05012.06
5.3.50.0070.05512.00
5.3.40.0100.04912.00
5.3.30.0100.05611.94
5.3.20.0090.05111.71
5.3.10.0070.05311.69
5.3.00.0080.05311.67
5.2.170.0080.0439.17
5.2.160.0070.0449.16
5.2.150.0100.0459.16
5.2.140.0090.0509.16
5.2.130.0090.0429.12
5.2.120.0130.0449.12
5.2.110.0100.0439.13
5.2.100.0060.0439.13
5.2.90.0100.0479.13
5.2.80.0080.0399.12
5.2.70.0080.0469.13
5.2.60.0070.0379.08
5.2.50.0060.0399.05
5.2.40.0090.0339.03
5.2.30.0090.0349.00
5.2.20.0060.0358.99
5.2.10.0050.0368.91
5.2.00.0070.0358.78
5.1.60.0050.0328.06
5.1.50.0090.0288.06
5.1.40.0070.0368.04
5.1.30.0070.0388.39
5.1.20.0050.0398.41
5.1.10.0040.0338.13
5.1.00.0070.0328.13
5.0.50.0040.0266.61
5.0.40.0060.0246.47
5.0.30.0060.0396.28
5.0.20.0070.0246.25
5.0.10.0050.0256.24
5.0.00.0060.0386.22
4.4.90.0040.0234.78
4.4.80.0070.0214.76
4.4.70.0070.0194.75
4.4.60.0070.0184.76
4.4.50.0050.0214.77
4.4.40.0040.0344.71
4.4.30.0060.0194.76
4.4.20.0050.0224.85
4.4.10.0080.0194.85
4.4.00.0040.0324.76
4.3.110.0040.0224.67
4.3.100.0040.0274.67
4.3.90.0030.0214.63
4.3.80.0070.0324.58
4.3.70.0050.0244.63
4.3.60.0040.0224.63
4.3.50.0040.0234.62
4.3.40.0070.0334.54
4.3.30.0030.0233.28
4.3.20.0020.0233.25
4.3.10.0050.0213.22
4.3.00.0070.0177.57

preferences:
137.83 ms | 1394 KiB | 7 Q