3v4l.org

run code in 300+ PHP versions simultaneously
<?php class EconomicsWS { static function WSDL() { return array(); } } $opts = array( 'http' => array( 'header' => "X-EconomicAppIdentifier: RevirusDKInvoicing/1.0 (http://revi-rus.dk/; administrator@revi-rus.dk) PHP-SOAP/1.0\r\n" ) ); $context = stream_context_create($opts); $this->client = new SoapClient(EconomicsWS::WSDL, array("trace" => 1, "exceptions" => 1, 'stream_context' => $context));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W5UR7
function name:  (null)
number of ops:  17
compiled vars:  !0 = $opts, !1 = $context
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                   !0, <array>
   14     1        INIT_FCALL                                               'stream_context_create'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   15     5        FETCH_THIS                                       $5      
          6        NEW                                              $7      'SoapClient'
          7        FETCH_CLASS_CONSTANT                             ~8      'EconomicsWS', 'WSDL'
          8        SEND_VAL_EX                                              ~8
          9        INIT_ARRAY                                       ~9      1, 'trace'
         10        ADD_ARRAY_ELEMENT                                ~9      1, 'exceptions'
         11        ADD_ARRAY_ELEMENT                                ~9      !1, 'stream_context'
         12        SEND_VAL_EX                                              ~9
         13        DO_FCALL                                      0          
         14        ASSIGN_OBJ                                               $5, 'client'
         15        OP_DATA                                                  $7
         16      > RETURN                                                   1

Class EconomicsWS:
Function wsdl:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W5UR7
function name:  WSDL
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   <array>
    6     1*     > RETURN                                                   null

End of function wsdl

End of class EconomicsWS.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.3 ms | 1395 KiB | 15 Q