3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://beta.mir3.com/helpfiles/mir3_documents/inWebServices-3_4.wsdl'; $auth = array('username'=>'USERNAME', 'password'=>'PASSWORD'); $recipGroupTitle = '001-Den Haag'; function searchGroups($url, $auth, $recipGroupTitle){ $client = new SoapClient($url, array('trace'=>1)); $search = $client -> searchRecipientGroupsOp(array('apiVersion'=>'3.4' ,'authorization'=>$auth ,'startIndex'=>1 ,'maxResults'=>1 ,'includeDetail'=>true ,'query'=>array('and'=>array('recipientGroupTitle'=>$recipGroupTitle)) )); $result = $search -> searchRecipientGroupsResponse -> recipientGroupDetail; return $result; } searchGroups($url, $auth, $recipGroupTitle); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n7DFv
function name:  (null)
number of ops:  9
compiled vars:  !0 = $url, !1 = $auth, !2 = $recipGroupTitle
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fbeta.mir3.com%2Fhelpfiles%2Fmir3_documents%2FinWebServices-3_4.wsdl'
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, '001-Den+Haag'
   18     3        INIT_FCALL                                               'searchgroups'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_FCALL                                      0          
   19     8      > RETURN                                                   1

Function searchgroups:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n7DFv
function name:  searchGroups
number of ops:  25
compiled vars:  !0 = $url, !1 = $auth, !2 = $recipGroupTitle, !3 = $client, !4 = $search, !5 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    7     3        NEW                                              $6      'SoapClient'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAL_EX                                              <array>
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !3, $6
    8     8        INIT_METHOD_CALL                                         !3, 'searchRecipientGroupsOp'
          9        INIT_ARRAY                                       ~9      '3.4', 'apiVersion'
    9    10        ADD_ARRAY_ELEMENT                                ~9      !1, 'authorization'
   10    11        ADD_ARRAY_ELEMENT                                ~9      1, 'startIndex'
   11    12        ADD_ARRAY_ELEMENT                                ~9      1, 'maxResults'
    8    13        ADD_ARRAY_ELEMENT                                ~9      <true>, 'includeDetail'
   13    14        INIT_ARRAY                                       ~10     !2, 'recipientGroupTitle'
         15        INIT_ARRAY                                       ~11     ~10, 'and'
         16        ADD_ARRAY_ELEMENT                                ~9      ~11, 'query'
         17        SEND_VAL_EX                                              ~9
         18        DO_FCALL                                      0  $12     
    8    19        ASSIGN                                                   !4, $12
   15    20        FETCH_OBJ_R                                      ~14     !4, 'searchRecipientGroupsResponse'
         21        FETCH_OBJ_R                                      ~15     ~14, 'recipientGroupDetail'
         22        ASSIGN                                                   !5, ~15
   16    23      > RETURN                                                   !5
   17    24*     > RETURN                                                   null

End of function searchgroups

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.35 ms | 1390 KiB | 14 Q