3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = file_get_contents('https://dictionary.yandex.net/api/v1/dicservice.json/lookup?key=dict.1.1.20160318T202458Z.1f096f4217403a0a.ff0eac3843a0da2d7333e9f76335c3fd834dcf6c&lang=ru-en&text=text'); $jsonData = json_decode($url); $rest = $jsonData->def[0]; foreach ($rest as $v1) { echo "<dl>"; foreach ($v1 as $key => $value) { echo "<dt>$key</dt><dd>$value</dd>"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 26
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 26
Branch analysis from position: 13
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 24
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 24
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 24
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/c7br1
function name:  (null)
number of ops:  28
compiled vars:  !0 = $url, !1 = $jsonData, !2 = $rest, !3 = $v1, !4 = $value, !5 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'https%3A%2F%2Fdictionary.yandex.net%2Fapi%2Fv1%2Fdicservice.json%2Flookup%3Fkey%3Ddict.1.1.20160318T202458Z.1f096f4217403a0a.ff0eac3843a0da2d7333e9f76335c3fd834dcf6c%26lang%3Dru-en%26text%3Dtext'
          2        DO_ICALL                                         $6      
          3        ASSIGN                                                   !0, $6
    3     4        INIT_FCALL                                               'json_decode'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $8      
          7        ASSIGN                                                   !1, $8
    4     8        FETCH_OBJ_R                                      ~10     !1, 'def'
          9        FETCH_DIM_R                                      ~11     ~10, 0
         10        ASSIGN                                                   !2, ~11
    5    11      > FE_RESET_R                                       $13     !2, ->26
         12    > > FE_FETCH_R                                               $13, !3, ->26
    6    13    >   ECHO                                                     '%3Cdl%3E'
    7    14      > FE_RESET_R                                       $14     !3, ->24
         15    > > FE_FETCH_R                                       ~15     $14, !4, ->24
         16    >   ASSIGN                                                   !5, ~15
    8    17        ROPE_INIT                                     5  ~18     '%3Cdt%3E'
         18        ROPE_ADD                                      1  ~18     ~18, !5
         19        ROPE_ADD                                      2  ~18     ~18, '%3C%2Fdt%3E%3Cdd%3E'
         20        ROPE_ADD                                      3  ~18     ~18, !4
         21        ROPE_END                                      4  ~17     ~18, '%3C%2Fdd%3E'
         22        ECHO                                                     ~17
    7    23      > JMP                                                      ->15
         24    >   FE_FREE                                                  $14
    5    25      > JMP                                                      ->12
         26    >   FE_FREE                                                  $13
   10    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.37 ms | 1401 KiB | 17 Q