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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7BCNW
function name:  (null)
number of ops:  13
compiled vars:  !0 = $json, !1 = $arr, !2 = $pp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B+%22player_id%22+%3A+125%2C+%22player_name%22+%3A+%22J%5Cu00c3%5Cu0083%5Cu00c2%5Cu00balio+C%5Cu00c3...%22%2C+%22player_country%22+%3A+%2235%22%2C+%22player_country_name%22+%3A+%22Brazil%22%2C+%22player_team%22+%3A+%22Brasil%22%2C+%22player_role%22+%3A+%22Goalkeeper%22%2C+%22player_price%22+%3A+0%2C+%22substitute%22+%3A+0%2C+%22captain%22+%3A+1%2C+%22vice_captain%22+%3A+0+%7D'
    4     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    6     5        INIT_FCALL                                               'json_encode'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    8     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.7 ms | 1394 KiB | 19 Q