3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new SoapClient(null, array('uri' => 'http://www.webserviceX.NET/', 'location' => 'http://www.webservicex.net/CurrencyConvertor.asmx?WSDL', 'trace' => true, 'soap_version' => SOAP_1_2)); var_dump($a->__getTypes()); var_dump($a->__getFunctions());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3YtoX
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'SoapClient'
          1        SEND_VAL_EX                                              null
          2        INIT_ARRAY                                       ~2      'http%3A%2F%2Fwww.webserviceX.NET%2F', 'uri'
          3        ADD_ARRAY_ELEMENT                                ~2      'http%3A%2F%2Fwww.webservicex.net%2FCurrencyConvertor.asmx%3FWSDL', 'location'
          4        ADD_ARRAY_ELEMENT                                ~2      <true>, 'trace'
          5        FETCH_CONSTANT                                   ~3      'SOAP_1_2'
          6        ADD_ARRAY_ELEMENT                                ~2      ~3, 'soap_version'
          7        SEND_VAL_EX                                              ~2
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !0, $1
    5    10        INIT_FCALL                                               'var_dump'
         11        INIT_METHOD_CALL                                         !0, '__getTypes'
         12        DO_FCALL                                      0  $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
    7    15        INIT_FCALL                                               'var_dump'
         16        INIT_METHOD_CALL                                         !0, '__getFunctions'
         17        DO_FCALL                                      0  $8      
         18        SEND_VAR                                                 $8
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.77 ms | 1395 KiB | 15 Q