3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_file("http://steamcommunity.com/groups/CSGOPerccom/memberslistxml/?xml=1"); foreach ($xml->members->steamID64 as $friendid) { if (substr($friendid,-1)%2==0) $server=0; else $server=1; $auth=bcsub($friendid,'76561198071550434'); $auth=bcsub($auth,$server); $auth=bcdiv($auth,2); $steamcomid="STEAM_0:".$server.':'.$auth; echo "$steamcomid<br>"; // or do watever with steamids } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 41
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 41
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 41
filename:       /in/8YjkH
function name:  (null)
number of ops:  43
compiled vars:  !0 = $xml, !1 = $friendid, !2 = $server, !3 = $auth, !4 = $steamcomid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'simplexml_load_file'
          1        SEND_VAL                                                 'http%3A%2F%2Fsteamcommunity.com%2Fgroups%2FCSGOPerccom%2Fmemberslistxml%2F%3Fxml%3D1'
          2        DO_ICALL                                         $5      
          3        ASSIGN                                                   !0, $5
    5     4        FETCH_OBJ_R                                      ~7      !0, 'members'
          5        FETCH_OBJ_R                                      ~8      ~7, 'steamID64'
          6      > FE_RESET_R                                       $9      ~8, ->41
          7    > > FE_FETCH_R                                               $9, !1, ->41
    7     8    >   INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !1
         10        SEND_VAL                                                 -1
         11        DO_ICALL                                         $10     
         12        MOD                                              ~11     $10, 2
         13        IS_EQUAL                                                 ~11, 0
         14      > JMPZ                                                     ~12, ->17
         15    >   ASSIGN                                                   !2, 0
         16      > JMP                                                      ->18
         17    >   ASSIGN                                                   !2, 1
    8    18    >   INIT_FCALL_BY_NAME                                       'bcsub'
         19        SEND_VAR_EX                                              !1
         20        SEND_VAL_EX                                              '76561198071550434'
         21        DO_FCALL                                      0  $15     
         22        ASSIGN                                                   !3, $15
    9    23        INIT_FCALL_BY_NAME                                       'bcsub'
         24        SEND_VAR_EX                                              !3
         25        SEND_VAR_EX                                              !2
         26        DO_FCALL                                      0  $17     
         27        ASSIGN                                                   !3, $17
   10    28        INIT_FCALL_BY_NAME                                       'bcdiv'
         29        SEND_VAR_EX                                              !3
         30        SEND_VAL_EX                                              2
         31        DO_FCALL                                      0  $19     
         32        ASSIGN                                                   !3, $19
   11    33        CONCAT                                           ~21     'STEAM_0%3A', !2
         34        CONCAT                                           ~22     ~21, '%3A'
         35        CONCAT                                           ~23     ~22, !3
         36        ASSIGN                                                   !4, ~23
   12    37        NOP                                                      
         38        FAST_CONCAT                                      ~25     !4, '%3Cbr%3E'
         39        ECHO                                                     ~25
    5    40      > JMP                                                      ->7
         41    >   FE_FREE                                                  $9
   14    42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.61 ms | 1400 KiB | 17 Q