3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = array( 'soap_version'=>SOAP_1_2, 'exceptions'=>true, 'trace'=>1, 'cache_wsdl'=>WSDL_CACHE_NONE ); $client = new SoapClient('http://example.com/doc.asmx?WSDL', $options); var_dump($client);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J5AIB
function name:  (null)
number of ops:  16
compiled vars:  !0 = $options, !1 = $client
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_CONSTANT                                   ~2      'SOAP_1_2'
          1        INIT_ARRAY                                       ~3      ~2, 'soap_version'
          2        ADD_ARRAY_ELEMENT                                ~3      <true>, 'exceptions'
    6     3        ADD_ARRAY_ELEMENT                                ~3      1, 'trace'
    7     4        FETCH_CONSTANT                                   ~4      'WSDL_CACHE_NONE'
          5        ADD_ARRAY_ELEMENT                                ~3      ~4, 'cache_wsdl'
    3     6        ASSIGN                                                   !0, ~3
    9     7        NEW                                              $6      'SoapClient'
          8        SEND_VAL_EX                                              'http%3A%2F%2Fexample.com%2Fdoc.asmx%3FWSDL'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !1, $6
   10    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.97 ms | 1394 KiB | 15 Q