3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach ($callsToMake as $serverClients) { foreach ($serverClients as $keys) { /** @var ConnectionConfig $clientConfig */ $clientConfig = $keys['config']; /** Transport returns json **/ $transport = $this->transportFactory->build($this->client, $this->request, $clientConfig); /** Adapter returns Torrent objects **/ $adapter = $this->adapterFactory->build($transport); $torrents = array_merge($torrents, $adapter->getTorrents($keys['hashes'])); } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 39
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 39
Branch analysis from position: 2
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 37
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 37
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 37
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 39
filename:       /in/4mdbT
function name:  (null)
number of ops:  41
compiled vars:  !0 = $callsToMake, !1 = $serverClients, !2 = $keys, !3 = $clientConfig, !4 = $transport, !5 = $adapter, !6 = $torrents
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > FE_RESET_R                                       $7      !0, ->39
          1    > > FE_FETCH_R                                               $7, !1, ->39
    5     2    > > FE_RESET_R                                       $8      !1, ->37
          3    > > FE_FETCH_R                                               $8, !2, ->37
    8     4    >   FETCH_DIM_R                                      ~9      !2, 'config'
          5        ASSIGN                                                   !3, ~9
   11     6        FETCH_THIS                                       $11     
          7        FETCH_OBJ_R                                      ~12     $11, 'transportFactory'
          8        INIT_METHOD_CALL                                         ~12, 'build'
          9        CHECK_FUNC_ARG                                           
         10        FETCH_THIS                                       $13     
         11        FETCH_OBJ_FUNC_ARG                               $14     $13, 'client'
         12        SEND_FUNC_ARG                                            $14
         13        CHECK_FUNC_ARG                                           
         14        FETCH_THIS                                       $15     
         15        FETCH_OBJ_FUNC_ARG                               $16     $15, 'request'
         16        SEND_FUNC_ARG                                            $16
         17        SEND_VAR_EX                                              !3
         18        DO_FCALL                                      0  $17     
         19        ASSIGN                                                   !4, $17
   14    20        FETCH_THIS                                       $19     
         21        FETCH_OBJ_R                                      ~20     $19, 'adapterFactory'
         22        INIT_METHOD_CALL                                         ~20, 'build'
         23        SEND_VAR_EX                                              !4
         24        DO_FCALL                                      0  $21     
         25        ASSIGN                                                   !5, $21
   16    26        INIT_FCALL                                               'array_merge'
         27        SEND_VAR                                                 !6
         28        INIT_METHOD_CALL                                         !5, 'getTorrents'
         29        CHECK_FUNC_ARG                                           
         30        FETCH_DIM_FUNC_ARG                               $23     !2, 'hashes'
         31        SEND_FUNC_ARG                                            $23
         32        DO_FCALL                                      0  $24     
         33        SEND_VAR                                                 $24
         34        DO_ICALL                                         $25     
         35        ASSIGN                                                   !6, $25
    5    36      > JMP                                                      ->3
         37    >   FE_FREE                                                  $8
    3    38      > JMP                                                      ->1
         39    >   FE_FREE                                                  $7
   18    40      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.81 ms | 1400 KiB | 15 Q