3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strWSDL = 'https://partner.onevoice.no/message_provider/error_message.ws.php?wsdl'; $client = new SoapClient($strWSDL, array('trace'=>1)); var_dump($client->__getFunctions()); var_dump($client->__call('getErrorMessage', array()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X12r5
function name:  (null)
number of ops:  19
compiled vars:  !0 = $strWSDL, !1 = $client
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fpartner.onevoice.no%2Fmessage_provider%2Ferror_message.ws.php%3Fwsdl'
    4     1        NEW                                              $3      'SoapClient'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              <array>
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $3
    5     6        INIT_FCALL                                               'var_dump'
          7        INIT_METHOD_CALL                                         !1, '__getFunctions'
          8        DO_FCALL                                      0  $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                                 
    6    11        INIT_FCALL                                               'var_dump'
         12        INIT_METHOD_CALL                                         !1, '__call'
         13        SEND_VAL_EX                                              'getErrorMessage'
         14        SEND_VAL_EX                                              <array>
         15        DO_FCALL                                      0  $8      
         16        SEND_VAR                                                 $8
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.39 ms | 1386 KiB | 15 Q