3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = simplexml_load_file('http://www.yr.no/sted/Russland/Novosibirsk/Novosibirsk/varsel.xml'); $b=0; $k=0; while ($k < 4) { foreach ($data->forecast->tabular->time as $info) { $nytemp=(float)$info->precipitation[value]; }; print_r($nytemp); $c=$b+$nytemp; $k++; }; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 7
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 18
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 7
Branch analysis from position: 27
Branch analysis from position: 7
Branch analysis from position: 18
filename:       /in/j7tvY
function name:  (null)
number of ops:  28
compiled vars:  !0 = $data, !1 = $b, !2 = $k, !3 = $info, !4 = $nytemp, !5 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'simplexml_load_file'
          1        SEND_VAL                                                 'http%3A%2F%2Fwww.yr.no%2Fsted%2FRussland%2FNovosibirsk%2FNovosibirsk%2Fvarsel.xml'
          2        DO_ICALL                                         $6      
          3        ASSIGN                                                   !0, $6
    5     4        ASSIGN                                                   !1, 0
    6     5        ASSIGN                                                   !2, 0
    7     6      > JMP                                                      ->25
    8     7    >   FETCH_OBJ_R                                      ~10     !0, 'forecast'
          8        FETCH_OBJ_R                                      ~11     ~10, 'tabular'
          9        FETCH_OBJ_R                                      ~12     ~11, 'time'
         10      > FE_RESET_R                                       $13     ~12, ->18
         11    > > FE_FETCH_R                                               $13, !3, ->18
   10    12    >   FETCH_CONSTANT                                   ~15     'value'
         13        FETCH_OBJ_R                                      ~14     !3, 'precipitation'
         14        FETCH_DIM_R                                      ~16     ~14, ~15
         15        CAST                                          5  ~17     ~16
         16        ASSIGN                                                   !4, ~17
    8    17      > JMP                                                      ->11
         18    >   FE_FREE                                                  $13
   13    19        INIT_FCALL                                               'print_r'
         20        SEND_VAR                                                 !4
         21        DO_ICALL                                                 
   14    22        ADD                                              ~20     !1, !4
         23        ASSIGN                                                   !5, ~20
   15    24        PRE_INC                                                  !2
    7    25    >   IS_SMALLER                                               !2, 4
         26      > JMPNZ                                                    ~23, ->7
   18    27    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.83 ms | 1396 KiB | 17 Q