3v4l.org

run code in 300+ PHP versions simultaneously
<?php $requestParams = array( 'CityName' => 'Berlin', 'CountryName' => 'Germany' ); $client = new SoapClient('http://www.webservicex.net/globalweather.asmx?WSDL'); $response = $client->GetWeather($requestParams); print_r($response); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lnd67
function name:  (null)
number of ops:  13
compiled vars:  !0 = $requestParams, !1 = $client, !2 = $response
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    7     1        NEW                                              $4      'SoapClient'
          2        SEND_VAL_EX                                              'http%3A%2F%2Fwww.webservicex.net%2Fglobalweather.asmx%3FWSDL'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $4
    8     5        INIT_METHOD_CALL                                         !1, 'GetWeather'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $7      
          8        ASSIGN                                                   !2, $7
   10     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
   11    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.81 ms | 1394 KiB | 15 Q