3v4l.org

run code in 300+ PHP versions simultaneously
<?php $guildIds = [ 'uhmotNBAQ6-0vi9PFysRBg', 'DWkD4B0uSsGQoryrz8Nuwg', 'wSbCgimqTPy470n-wDQXPQ', 'nmc0HQW-TZirTlnGzwbF-w', 'WpV4yaVxSLW8QXH2Be40cA', ]; $urlTemplate = 'https://gameinfo.albiononline.com/api/gameinfo/guilds/%s/members'; $guilds = []; foreach ($guildIds as $guildId) { $guilds[] = json_decode(file_get_contents(sprintf($urlTemplate, $guildId))); } var_export($guilds);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 18
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 18
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/ZJikL
function name:  (null)
number of ops:  23
compiled vars:  !0 = $guildIds, !1 = $urlTemplate, !2 = $guilds, !3 = $guildId
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   11     1        ASSIGN                                                   !1, 'https%3A%2F%2Fgameinfo.albiononline.com%2Fapi%2Fgameinfo%2Fguilds%2F%25s%2Fmembers'
   13     2        ASSIGN                                                   !2, <array>
   14     3      > FE_RESET_R                                       $7      !0, ->18
          4    > > FE_FETCH_R                                               $7, !3, ->18
   15     5    >   INIT_FCALL                                               'json_decode'
          6        INIT_FCALL                                               'file_get_contents'
          7        INIT_FCALL                                               'sprintf'
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !3
         10        DO_ICALL                                         $9      
         11        SEND_VAR                                                 $9
         12        DO_ICALL                                         $10     
         13        SEND_VAR                                                 $10
         14        DO_ICALL                                         $11     
         15        ASSIGN_DIM                                               !2
         16        OP_DATA                                                  $11
   14    17      > JMP                                                      ->4
         18    >   FE_FREE                                                  $7
   17    19        INIT_FCALL                                               'var_export'
         20        SEND_VAR                                                 !2
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.4 ms | 1013 KiB | 17 Q