3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "https://jsclou.in/api.php?v=1&userid=1"; $json = file_get_contents($url); $json_data = json_decode($json, true); echo "My token: ". $json_data["helper"];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JURcC
function name:  (null)
number of ops:  14
compiled vars:  !0 = $url, !1 = $json, !2 = $json_data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fjsclou.in%2Fapi.php%3Fv%3D1%26userid%3D1'
    3     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    4     5        INIT_FCALL                                               'json_decode'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !2, $6
    5    10        FETCH_DIM_R                                      ~8      !2, 'helper'
         11        CONCAT                                           ~9      'My+token%3A+', ~8
         12        ECHO                                                     ~9
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.88 ms | 1394 KiB | 17 Q