3v4l.org

run code in 300+ PHP versions simultaneously
<?php $modList = array(); $page = file_get_contents('http://neophyte.us/Atelier801/Transformice/API/RAW%20Online%20Moderators.php'); print("<b>Original input:</b> $page<br/><br/>"); $string = explode("\n", $page); foreach($string as $key => $communities) { $community = explode(":", $communities)[0]; $mods = explode(":", $communities)[1]; $modList[$community] = explode(" ", $mods); print_r($modList); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 39
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 39
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 39
filename:       /in/thC2E
function name:  (null)
number of ops:  41
compiled vars:  !0 = $modList, !1 = $page, !2 = $string, !3 = $communities, !4 = $key, !5 = $community, !6 = $mods
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAL                                                 'http%3A%2F%2Fneophyte.us%2FAtelier801%2FTransformice%2FAPI%2FRAW%2520Online%2520Moderators.php'
          3        DO_ICALL                                         $8      
          4        ASSIGN                                                   !1, $8
    6     5        ROPE_INIT                                     3  ~11     '%3Cb%3EOriginal+input%3A%3C%2Fb%3E+'
          6        ROPE_ADD                                      1  ~11     ~11, !1
          7        ROPE_END                                      2  ~10     ~11, '%3Cbr%2F%3E%3Cbr%2F%3E'
          8        ECHO                                                     ~10
    8     9        INIT_FCALL                                               'explode'
         10        SEND_VAL                                                 '%0A'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $13     
         13        ASSIGN                                                   !2, $13
    9    14      > FE_RESET_R                                       $15     !2, ->39
         15    > > FE_FETCH_R                                       ~16     $15, !3, ->39
         16    >   ASSIGN                                                   !4, ~16
   10    17        INIT_FCALL                                               'explode'
         18        SEND_VAL                                                 '%3A'
         19        SEND_VAR                                                 !3
         20        DO_ICALL                                         $18     
         21        FETCH_DIM_R                                      ~19     $18, 0
         22        ASSIGN                                                   !5, ~19
   11    23        INIT_FCALL                                               'explode'
         24        SEND_VAL                                                 '%3A'
         25        SEND_VAR                                                 !3
         26        DO_ICALL                                         $21     
         27        FETCH_DIM_R                                      ~22     $21, 1
         28        ASSIGN                                                   !6, ~22
   12    29        INIT_FCALL                                               'explode'
         30        SEND_VAL                                                 '+'
         31        SEND_VAR                                                 !6
         32        DO_ICALL                                         $25     
         33        ASSIGN_DIM                                               !0, !5
         34        OP_DATA                                                  $25
   13    35        INIT_FCALL                                               'print_r'
         36        SEND_VAR                                                 !0
         37        DO_ICALL                                                 
    9    38      > JMP                                                      ->15
         39    >   FE_FREE                                                  $15
   14    40      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
199.44 ms | 1404 KiB | 19 Q