3v4l.org

run code in 300+ PHP versions simultaneously
<?php class EconomicsWS { const WSDL = 'test'; 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/hla4u
function name:  (null)
number of ops:  16
compiled vars:  !0 = $opts, !1 = $context
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, <array>
   15     1        INIT_FCALL                                               'stream_context_create'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   16     5        FETCH_THIS                                       $5      
          6        NEW                                              $7      'SoapClient'
          7        SEND_VAL_EX                                              'test'
          8        INIT_ARRAY                                       ~8      1, 'trace'
          9        ADD_ARRAY_ELEMENT                                ~8      1, 'exceptions'
         10        ADD_ARRAY_ELEMENT                                ~8      !1, 'stream_context'
         11        SEND_VAL_EX                                              ~8
         12        DO_FCALL                                      0          
         13        ASSIGN_OBJ                                               $5, 'client'
         14        OP_DATA                                                  $7
         15      > RETURN                                                   1

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

End of function wsdl

End of class EconomicsWS.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.72 ms | 1395 KiB | 15 Q