3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $soap = new SoapClient("https://qualcas-ssc.ouest-france.fr:443/casregister/services/CasRegisterService?wsdl"); echo "----------- Authenticating -----------<br>"; $oAuthResult = $soap->Authenticate( array( 'login' => 'user-casregister', 'password' => 'U5erKsr3g15tEr', ) ); print_r($oAuthResult); echo "<BR>"; if ($oAuthResult->AuthenticateResult->Result != 0) { echo "Error authenticating!!<br>"; return; } echo "Key = " . $oAuthResult->AuthenticateResult->Key . "<br>"; echo "Authentication OK<br>"; } catch(SoapFault $fault) { echo $fault; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 26
Branch analysis from position: 26
2 jumps found. (Code = 107) Position 1 = 27, Position 2 = -2
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tSBSv
function name:  (null)
number of ops:  29
compiled vars:  !0 = $soap, !1 = $oAuthResult, !2 = $fault
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'SoapClient'
          1        SEND_VAL_EX                                              'https%3A%2F%2Fqualcas-ssc.ouest-france.fr%3A443%2Fcasregister%2Fservices%2FCasRegisterService%3Fwsdl'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    5     4        ECHO                                                     '-----------+Authenticating+-----------%3Cbr%3E'
    6     5        INIT_METHOD_CALL                                         !0, 'Authenticate'
    8     6        SEND_VAL_EX                                              <array>
          7        DO_FCALL                                      0  $6      
    6     8        ASSIGN                                                   !1, $6
   12     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
   13    12        ECHO                                                     '%3CBR%3E'
   14    13        FETCH_OBJ_R                                      ~9      !1, 'AuthenticateResult'
         14        FETCH_OBJ_R                                      ~10     ~9, 'Result'
         15        IS_NOT_EQUAL                                             ~10, 0
         16      > JMPZ                                                     ~11, ->19
   15    17    >   ECHO                                                     'Error+authenticating%21%21%3Cbr%3E'
   16    18      > RETURN                                                   null
   18    19    >   FETCH_OBJ_R                                      ~12     !1, 'AuthenticateResult'
         20        FETCH_OBJ_R                                      ~13     ~12, 'Key'
         21        CONCAT                                           ~14     'Key+%3D+', ~13
         22        CONCAT                                           ~15     ~14, '%3Cbr%3E'
         23        ECHO                                                     ~15
   19    24        ECHO                                                     'Authentication+OK%3Cbr%3E'
         25      > JMP                                                      ->28
   20    26  E > > CATCH                                       last         'SoapFault'
   21    27    >   ECHO                                                     !2
   22    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.83 ms | 1396 KiB | 15 Q